[go: nahoru, domu]

Skip to content

Commit

Permalink
0.0.99 release
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Cameron <nrc@ncameron.org>
  • Loading branch information
nrc committed Apr 29, 2021
1 parent 71d47ef commit 9b47f68
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 19 deletions.
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "tikv-client"
version = "0.0.0"
version = "0.0.99"
keywords = ["TiKV", "KV", "distributed-systems"]
license = "Apache-2.0"
authors = ["The TiKV Project Authors"]
repository = "https://github.com/tikv/client-rust"
description = "The rust language implementation of TiKV client."
description = "The Rust language implementation of TiKV client."
edition = "2018"

[features]
Expand Down Expand Up @@ -34,10 +34,10 @@ serde_derive = "1.0"
thiserror = "1"
tokio = { version = "1.0", features = [ "sync", "time" ] }

tikv-client-common = { path = "tikv-client-common" }
tikv-client-pd = { path = "tikv-client-pd" }
tikv-client-proto = { path = "tikv-client-proto" }
tikv-client-store = { path = "tikv-client-store" }
tikv-client-common = { version = "0.0.99", path = "tikv-client-common" }
tikv-client-pd = { version = "0.0.99", path = "tikv-client-pd" }
tikv-client-proto = { version = "0.0.99", path = "tikv-client-proto" }
tikv-client-store = { version = "0.0.99", path = "tikv-client-store" }


[dev-dependencies]
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ The TiKV client is a Rust library (crate). To use this crate in your project, ad

```toml
[dependencies]
tikv-client = 0.1
tikv-client = 0.0.99
```

Note, you will need `tikv-client = { git = "https://github.com/tikv/client-rust.git" }` until we publish the crate (should be any day now).

The minimum supported version of Rust is 1.40. The minimum supported version of TiKV is 5.0.

The general flow of using the client crate is to create either a raw or transaction client object (which can be configured) then send commands using the client object, or use it to create transactions objects. In the latter case, the transaction is built up using various commands and then committed (or rolled back).
Expand Down
9 changes: 6 additions & 3 deletions tikv-client-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[package]
name = "tikv-client-common"
version = "0.0.0"
version = "0.0.99"
edition = "2018"

license = "Apache-2.0"
authors = ["The TiKV Project Authors"]
repository = "https://github.com/tikv/client-rust"
description = "Common components of the TiKV Rust client"

[dependencies]
thiserror = "1"
Expand All @@ -11,7 +14,7 @@ grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen"
lazy_static = "1"
log = "0.4"
regex = "1"
tikv-client-proto = { path = "../tikv-client-proto" }
tikv-client-proto = { version = "0.0.99", path = "../tikv-client-proto" }

[dev-dependencies]
clap = "2"
Expand Down
10 changes: 7 additions & 3 deletions tikv-client-pd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
[package]
name = "tikv-client-pd"
version = "0.0.0"
version = "0.0.99"
edition = "2018"
license = "Apache-2.0"
authors = ["The TiKV Project Authors"]
repository = "https://github.com/tikv/client-rust"
description = "Low level PD components for the TiKV Rust client"

[dependencies]
async-trait = "0.1"
futures = { version = "0.3", features = ["compat", "async-await", "thread-pool"] }
grpcio = { version = "0.8", features = [ "secure", "prost-codec", "use-bindgen" ], default-features = false }
log = "0.4"
tikv-client-common = { path = "../tikv-client-common" }
tikv-client-proto = { path = "../tikv-client-proto" }
tikv-client-common = { version = "0.0.99", path = "../tikv-client-common" }
tikv-client-proto = { version = "0.0.99", path = "../tikv-client-proto" }

[dev-dependencies]
clap = "2"
Expand Down
6 changes: 5 additions & 1 deletion tikv-client-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[package]
name = "tikv-client-proto"
version = "0.0.0"
version = "0.0.99"
edition = "2018"
license = "Apache-2.0"
authors = ["The TiKV Project Authors"]
repository = "https://github.com/tikv/client-rust"
description = "Protobuf specs for the TiKV Rust client"
build = "build.rs"

[build-dependencies]
Expand Down
10 changes: 7 additions & 3 deletions tikv-client-store/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
[package]
name = "tikv-client-store"
version = "0.0.0"
version = "0.0.99"
edition = "2018"
license = "Apache-2.0"
authors = ["The TiKV Project Authors"]
repository = "https://github.com/tikv/client-rust"
description = "Low level TiKV node components of the TiKV Rust client"

[dependencies]
async-trait = "0.1"
derive-new = "0.5"
futures = { version = "0.3", features = ["compat", "async-await", "thread-pool"] }
grpcio = { version = "0.8", features = ["secure", "prost-codec", "use-bindgen"], default-features = false }
log = "0.4"
tikv-client-common = { path = "../tikv-client-common" }
tikv-client-proto = { path = "../tikv-client-proto" }
tikv-client-common = { version = "0.0.99", path = "../tikv-client-common" }
tikv-client-proto = { version = "0.0.99", path = "../tikv-client-proto" }

0 comments on commit 9b47f68

Please sign in to comment.