Cargo.toml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [package]
  2. name = "tikv-client"
  3. version = "0.0.0"
  4. keywords = ["TiKV", "KV", "distributed-systems"]
  5. license = "Apache-2.0"
  6. authors = ["The TiKV Project Authors"]
  7. repository = "https://github.com/tikv/client-rust"
  8. description = "The rust language implementation of TiKV client."
  9. edition = "2018"
  10. [features]
  11. default = []
  12. # Enable integration tests with a running TiKV and PD instance.
  13. # Use $PD_ADDRS, comma separated, to set the addresses the tests use.
  14. integration-tests = []
  15. [lib]
  16. name = "tikv_client"
  17. [dependencies]
  18. derive-new = "0.5"
  19. failure = "0.1"
  20. futures = { version = "0.3.1", features = ["compat", "async-await", "thread-pool"] }
  21. grpcio = { version = "0.5.0-alpha", features = [ "secure", "prost-codec" ], default-features = false }
  22. kvproto = { git = "https://github.com/pingcap/kvproto.git", features = [ "prost-codec" ], default-features = false }
  23. lazy_static = "1"
  24. log = "0.3.9"
  25. regex = "1"
  26. serde = "1.0"
  27. serde_derive = "1.0"
  28. futures-timer = "2.0"
  29. [dependencies.prometheus]
  30. version = "0.4.2"
  31. default-features = false
  32. features = ["push", "process"]
  33. [dev-dependencies]
  34. clap = "2.32"
  35. tempdir = "0.3"
  36. runtime = { version = "0.3.0-alpha.8", default-features = false }
  37. runtime-tokio = "0.3.0-alpha.6"
  38. proptest = "0.9"
  39. proptest-derive = "0.1.0"
  40. fail = { version = "0.3", features = [ "failpoints" ] }
  41. [replace]
  42. "protobuf:2.8.0" = { git = "https://github.com/nrc/rust-protobuf", rev="4df576feca3b10c01d55b0e7c634bfab30982087" }
  43. "protobuf-build:0.10.0" = { git = "https://github.com/tikv/protobuf-build", rev="42e52b9311f7fb31bbbe089fef5a24ec0392f9ce" }