11[package ]
22name = " surrealdb-tikv-client"
3- version = " 0.3.0-surreal.4 "
3+ version = " 0.5.0 "
44keywords = [" TiKV" , " KV" , " distributed-systems" ]
55license = " Apache-2.0"
66authors = [" The TiKV Project Authors" ]
7- repository = " https://github.com/tikv/client-rust "
8- description = " The Rust language implementation of TiKV client."
7+ repository = " https://github.com/surrealdb/tikv-client "
8+ description = " The Rust language implementation of TiKV client (SurrealDB fork) ."
99edition = " 2021"
1010
1111[features ]
@@ -25,42 +25,53 @@ members = [
2525]
2626
2727[dependencies ]
28- async-recursion = " 0.3 "
28+ async-recursion = " 1.1 "
2929async-trait = " 0.1"
30- derive-new = " 0.5"
31- either = " 1.6"
32- fail = " 0.4"
33- futures = { version = " 0.3" }
34- lazy_static = " 1"
30+ derive-new = " 0.7"
31+ either = " 1.15"
32+ fail = " 0.5"
33+ futures = " 0.3"
3534log = " 0.4"
36- pin-project = " 1"
37- prometheus = { version = " 0.13 " , default-features = false }
38- prost = " 0.12 "
39- rand = " 0.8 "
35+ pin-project = " 1.1 "
36+ prometheus = { version = " 0.14 " , default-features = false }
37+ prost = " 0.14 "
38+ rand = " 0.9 "
4039regex = " 1"
4140semver = " 1.0"
4241serde = " 1.0"
4342serde_derive = " 1.0"
44- serde_json = " 1"
4543take_mut = " 0.2.2"
46- thiserror = " 1 "
44+ thiserror = " 2 "
4745tokio = { version = " 1" , features = [" sync" , " rt-multi-thread" , " macros" ] }
48- tonic = { version = " 0.10" , features = [" tls" ] }
46+ tonic = { version = " 0.14" , features = [" tls-native-roots" ] }
47+ tonic-prost = " 0.14"
48+
49+ # Upstream `tikv/client-rust`'s `[dev-dependencies]` block was much
50+ # heavier (clap 2, env_logger, proptest, proptest-derive, reqwest,
51+ # rstest, tempfile) because it served the CLI examples and the
52+ # in-crate proptest derives — both of which were dropped during the
53+ # SurrealDB fork's modernisation. What's left below is the strict
54+ # minimum the `tests/` tree still needs to exercise the live-cluster
55+ # integration suite against a TiKV cluster.
56+ #
57+ # `serial_test 3.x` replaces the previous 0.5 pin: the latter pulled
58+ # in `parking_lot 0.11` / `instant` (RUSTSEC-2024-0384). 3.x drops
59+ # both. The `#[serial]` attribute API has been stable across the bump.
4960
5061[dev-dependencies ]
51- clap = " 2"
52- env_logger = " 0.10"
53- fail = { version = " 0.4" , features = [" failpoints" ] }
54- proptest = " 1"
55- proptest-derive = " 0.5.1"
56- reqwest = { version = " 0.11" , features = [" json" , " native-tls-vendored" ] }
57- rstest = " 0.18.2"
62+ env_logger = " 0.11"
63+ fail = { version = " 0.5" , features = [" failpoints" ] }
64+ reqwest = { version = " 0.12" , default-features = false , features = [" rustls-tls" ] }
5865serde_json = " 1"
59- serial_test = " 0.5.0"
60- tempfile = " 3.6"
66+ serial_test = " 3"
6167tokio = { version = " 1" , features = [" sync" , " rt-multi-thread" , " macros" ] }
6268
6369[[test ]]
6470name = " failpoint_tests"
6571path = " tests/failpoint_tests.rs"
6672required-features = [" fail/failpoints" ]
73+
74+ [[test ]]
75+ name = " integration_tests"
76+ path = " tests/integration_tests.rs"
77+ required-features = [" integration-tests" ]
0 commit comments