File tree 7 files changed +38
-10
lines changed 7 files changed +38
-10
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ This is for:
6
6
7
7
## Dev notes
8
8
9
- To build and test:
9
+ ## Build and test
10
10
11
11
```
12
12
cargo clean
@@ -17,8 +17,36 @@ cd questdb-confstr-ffi/cpp_test
17
17
./run
18
18
```
19
19
20
+ ## Linting
21
+
20
22
In addition, before pushing a PR, please run:
21
23
```
22
24
cargo fmt --all
23
25
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._
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " questdb-confstr-ffi"
3
- version = " 0.1.0 "
3
+ version = " 0.1.1 "
4
4
edition = " 2021"
5
5
license = " Apache-2.0"
6
6
description = " C FFI bindings for questdb-confstr"
13
13
questdb-confstr = { path = " ../questdb-confstr" , version = " 0.1.0" }
14
14
15
15
[lib ]
16
- crate-type = [" lib" , " staticlib" ]
16
+ crate-type = [" lib" , " staticlib" ]
Original file line number Diff line number Diff line change 6
6
* \__\_\\__,_|\___||___/\__|____/|____/
7
7
*
8
8
* Copyright (c) 2014-2019 Appsicle
9
- * Copyright (c) 2019-2024 QuestDB
9
+ * Copyright (c) 2019-2025 QuestDB
10
10
*
11
11
* Licensed under the Apache License, Version 2.0 (the "License");
12
12
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 6
6
* \__\_\\__,_|\___||___/\__|____/|____/
7
7
*
8
8
* Copyright (c) 2014-2019 Appsicle
9
- * Copyright (c) 2019-2024 QuestDB
9
+ * Copyright (c) 2019-2025 QuestDB
10
10
*
11
11
* Licensed under the Apache License, Version 2.0 (the "License");
12
12
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " questdb-confstr"
3
- version = " 0.1.0 "
3
+ version = " 0.1.1 "
4
4
edition = " 2021"
5
5
license = " Apache-2.0"
6
6
description = " A parser for a configuration string format handling service names and parameters"
Original file line number Diff line number Diff line change 6
6
* \__\_\\__,_|\___||___/\__|____/|____/
7
7
*
8
8
* Copyright (c) 2014-2019 Appsicle
9
- * Copyright (c) 2019-2024 QuestDB
9
+ * Copyright (c) 2019-2025 QuestDB
10
10
*
11
11
* Licensed under the Apache License, Version 2.0 (the "License");
12
12
* you may not use this file except in compliance with the License.
@@ -101,7 +101,7 @@ impl<'a> PartialEq<&'a ErrorKind> for ErrorKind {
101
101
}
102
102
}
103
103
104
- impl < ' a > PartialEq < ErrorKind > for & ' a ErrorKind {
104
+ impl PartialEq < ErrorKind > for & ErrorKind {
105
105
fn eq ( & self , other : & ErrorKind ) -> bool {
106
106
* self == other
107
107
}
Original file line number Diff line number Diff line change 6
6
* \__\_\\__,_|\___||___/\__|____/|____/
7
7
*
8
8
* Copyright (c) 2014-2019 Appsicle
9
- * Copyright (c) 2019-2024 QuestDB
9
+ * Copyright (c) 2019-2025 QuestDB
10
10
*
11
11
* Licensed under the Apache License, Version 2.0 (the "License");
12
12
* you may not use this file except in compliance with the License.
You can’t perform that action at this time.
0 commit comments