Cargo.toml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [package]
  2. name = "wnfs-nameaccumulator"
  3. version = "0.2.0"
  4. description = "Cryptographic accumulators for the Webnative Filesystem"
  5. keywords = ["wnfs", "webnative", "ipfs", "decentralisation"]
  6. categories = [
  7. "filesystem",
  8. "cryptography",
  9. "web-programming",
  10. "wasm",
  11. ]
  12. license = "Apache-2.0"
  13. readme = "README.md"
  14. edition = "2021"
  15. repository = "https://github.com/wnfs-wg/rs-wnfs/tree/main/wnfs"
  16. homepage = "https://fission.codes"
  17. authors = ["The Fission Authors"]
  18. [dependencies]
  19. anyhow = "1.0"
  20. blake3 = { version = "1.4", features = ["traits-preview"] }
  21. libipld = { version = "0.16", features = ["dag-cbor", "derive", "serde-codec"] }
  22. num-bigint-dig = { version = "0.8.2", features = ["prime", "zeroize"], optional = true }
  23. num-integer = "0.1.45"
  24. num-traits = "0.2.15"
  25. once_cell = "1.0"
  26. rand_core = "0.6"
  27. rug = { version = "1.24", optional = true, default-features = false, features = ["rand", "integer", "num-traits"] }
  28. serde = { version = "1.0", features = ["rc"] }
  29. serde_bytes = "0.11.9"
  30. thiserror = "1.0"
  31. wnfs-common = { path = "../wnfs-common", version = "=0.2.0" }
  32. zeroize = "1.6"
  33. [dev-dependencies]
  34. async-std = { version = "1.12.0", features = ["attributes"] }
  35. hex = "0.4.3"
  36. insta = { version = "1.31.0", features = ["json"] }
  37. proptest = "1.1"
  38. rand = "0.8.5"
  39. rand_chacha = "0.3"
  40. serde_json = "1.0.103"
  41. test-strategy = "0.3"
  42. wnfs-common = { path = "../wnfs-common", features = ["test_utils"] }
  43. [features]
  44. default = ["num-bigint-dig"]
  45. rug = ["dep:rug"]
  46. num-bigint-dig = ["dep:num-bigint-dig"]