Cargo.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. bincode = "1.3.3"
  15. bytes = "1.0"
  16. crossbeam-utils = "0.8"
  17. futures-channel = "0.3.15"
  18. futures-util = "0.3.15"
  19. labrpc = "0.1.12"
  20. log = "0.4"
  21. parking_lot = "0.11.1"
  22. rand = "0.8"
  23. serde = "1.0.116"
  24. serde_derive = "1.0.116"
  25. tokio = { version = "1.7", features = ["rt-multi-thread", "time", "parking_lot"] }
  26. test_utils = { path = "test_utils", optional = true }
  27. [features]
  28. default = []
  29. integration-test = ["test_utils"]
  30. [dev-dependencies]
  31. anyhow = "1.0"
  32. futures = { version = "0.3.15", features = ["thread-pool"] }
  33. ruaft = { path = ".", features = ["integration-test"] }
  34. scopeguard = "1.1.0"
  35. test_utils = { path = "test_utils" }
  36. kvraft = { path = "kvraft" }
  37. [workspace]
  38. members = [
  39. "kvraft",
  40. "linearizability",
  41. "test_utils",
  42. ]