File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/checkout@v4
20
- - name : Audit Check # https://github.com/rustsec/audit-check/issues/2
21
- uses : rustsec/audit-check@master
20
+ - run : cargo update
21
+ - name : Audit Check
22
+ uses : rustsec/audit-check@v2.0.0
22
23
with :
23
- token : ${{ secrets.GITHUB_TOKEN }}
24
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 14
14
# This should make it easy to add new rules without breaking existing ones.
15
15
16
16
# Global rule:
17
- * @ marvin-hansen @ jovezhong
17
+ * @ marvin-hansen @ jovezhong @ zliang-min
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ path = "examples/remove/main.rs"
34
34
35
35
36
36
[dependencies ]
37
- clickhouse = { version = " 0.13" , features = [" watch" ] }
37
+ clickhouse = { version = " 0.13" , features = [" inserter " , " watch" ] }
38
38
clickhouse-derive = { version = " 0.2" }
39
39
tokio = { version = " 1" , features = [" rt-multi-thread" , " macros" ] }
40
40
serde = { version = " 1.0.196" , features = [" derive" ] }
Original file line number Diff line number Diff line change @@ -90,10 +90,10 @@ impl ProtonClient {
90
90
/// .inserter("table_name")
91
91
/// .await
92
92
/// .expect("Failed to create inserter")
93
- /// .with_max_entries (100_000); // The maximum number of rows in one INSERT statement.
93
+ /// .with_max_rows (100_000); // The maximum number of rows in one INSERT statement.
94
94
///
95
95
/// for i in 0..1000 {
96
- /// inserter.write(&MyRow { no: i, name: "foo" }).await. expect("Failed to insert row");
96
+ /// inserter.write(&MyRow { no: i, name: "foo" }).expect("Failed to insert row");
97
97
/// inserter.commit().await.expect("Failed to commit"); // Checks limits and ends a current INSERT if they are reached.
98
98
/// }
99
99
///
You can’t perform that action at this time.
0 commit comments