Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [package]
  2. name = "ruaft"
  3. version = "0.1.0"
  4. description = "Raft implemented in Rust"
  5. authors = ["Jing Yang <ditsing@gmail.com>"]
  6. edition = "2018"
  7. license = "MIT"
  8. keywords = ["raft", "consensus-protocol"]
  9. readme = "README.md"
  10. repository = "https://github.com/ditsing/ruaft"
  11. homepage = "https://github.com/ditsing/ruaft"
  12. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  13. [dependencies]
  14. async-trait = "0.1"
  15. bincode = "1.3.3"
  16. bytes = "1.0"
  17. crossbeam-utils = "0.8"
  18. futures-channel = "0.3.15"
  19. futures-util = "0.3.15"
  20. labrpc = "0.1.12"
  21. log = "0.4"
  22. parking_lot = "0.11.1"
  23. rand = "0.8"
  24. serde = "1.0.116"
  25. serde_derive = "1.0.116"
  26. tokio = { version = "1.7", features = ["rt-multi-thread", "time", "parking_lot"] }
  27. test_utils = { path = "test_utils", optional = true }
  28. [features]
  29. default = []
  30. integration-test = ["test_utils"]
  31. [dev-dependencies]
  32. anyhow = "1.0"
  33. futures = { version = "0.3.15", features = ["thread-pool"] }
  34. ruaft = { path = ".", features = ["integration-test"] }
  35. scopeguard = "1.1.0"
  36. stdext = "0.3"
  37. test_utils = { path = "test_utils" }
  38. kvraft = { path = "kvraft" }
  39. [workspace]
  40. members = [
  41. "kvraft",
  42. "linearizability",
  43. "test_utils",
  44. ]