Skip to content

Commit 3fd432c

Browse files
committed
Bump version to 0.1.1
1 parent bc21678 commit 3fd432c

File tree

7 files changed

+38
-10
lines changed

7 files changed

+38
-10
lines changed

README.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is for:
66

77
## Dev notes
88

9-
To build and test:
9+
## Build and test
1010

1111
```
1212
cargo clean
@@ -17,8 +17,36 @@ cd questdb-confstr-ffi/cpp_test
1717
./run
1818
```
1919

20+
## Linting
21+
2022
In addition, before pushing a PR, please run:
2123
```
2224
cargo fmt --all
2325
cargo clippy --all-targets -- -D warnings
24-
```
26+
```
27+
28+
## Cutting a release
29+
30+
Let us assume we want to cut version `0.1.1` and the current version is `0.1.0`.
31+
32+
1. New branch
33+
```
34+
git switch -c v0.1.1
35+
```
36+
37+
2. Update the version in both `Cargo.toml` files
38+
39+
```
40+
$EDITOR questdb-confstr/Cargo.toml
41+
$EDITOR questdb-confstr-ffi/Cargo.toml
42+
```
43+
44+
3. Commit the changes and create a PR
45+
```
46+
git add -u
47+
git commit -m "Bump version to 0.1.1"
48+
git push origin v0.1.1
49+
```
50+
51+
N.B: _We don't need to update any `Cargo.lock` files for the ffi crate since
52+
there are no dependencies._

questdb-confstr-ffi/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "questdb-confstr-ffi"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
license = "Apache-2.0"
66
description = "C FFI bindings for questdb-confstr"
@@ -13,4 +13,4 @@ authors = ["Adam Cimarosti <[email protected]>"]
1313
questdb-confstr = { path = "../questdb-confstr", version = "0.1.0" }
1414

1515
[lib]
16-
crate-type = ["lib", "staticlib"]
16+
crate-type = ["lib", "staticlib"]

questdb-confstr-ffi/cpp_test/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* \__\_\\__,_|\___||___/\__|____/|____/
77
*
88
* Copyright (c) 2014-2019 Appsicle
9-
* Copyright (c) 2019-2024 QuestDB
9+
* Copyright (c) 2019-2025 QuestDB
1010
*
1111
* Licensed under the Apache License, Version 2.0 (the "License");
1212
* you may not use this file except in compliance with the License.

questdb-confstr-ffi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* \__\_\\__,_|\___||___/\__|____/|____/
77
*
88
* Copyright (c) 2014-2019 Appsicle
9-
* Copyright (c) 2019-2024 QuestDB
9+
* Copyright (c) 2019-2025 QuestDB
1010
*
1111
* Licensed under the Apache License, Version 2.0 (the "License");
1212
* you may not use this file except in compliance with the License.

questdb-confstr/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "questdb-confstr"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
license = "Apache-2.0"
66
description = "A parser for a configuration string format handling service names and parameters"

questdb-confstr/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* \__\_\\__,_|\___||___/\__|____/|____/
77
*
88
* Copyright (c) 2014-2019 Appsicle
9-
* Copyright (c) 2019-2024 QuestDB
9+
* Copyright (c) 2019-2025 QuestDB
1010
*
1111
* Licensed under the Apache License, Version 2.0 (the "License");
1212
* you may not use this file except in compliance with the License.
@@ -101,7 +101,7 @@ impl<'a> PartialEq<&'a ErrorKind> for ErrorKind {
101101
}
102102
}
103103

104-
impl<'a> PartialEq<ErrorKind> for &'a ErrorKind {
104+
impl PartialEq<ErrorKind> for &ErrorKind {
105105
fn eq(&self, other: &ErrorKind) -> bool {
106106
*self == other
107107
}

questdb-confstr/tests/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* \__\_\\__,_|\___||___/\__|____/|____/
77
*
88
* Copyright (c) 2014-2019 Appsicle
9-
* Copyright (c) 2019-2024 QuestDB
9+
* Copyright (c) 2019-2025 QuestDB
1010
*
1111
* Licensed under the Apache License, Version 2.0 (the "License");
1212
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)