Cargo.toml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [package]
  2. name = "wnfs-common"
  3. version = "0.2.0"
  4. description = "Common types 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. rust-version = "1.75"
  16. repository = "https://github.com/wnfs-wg/rs-wnfs/tree/main/wnfs-common"
  17. homepage = "https://fission.codes"
  18. authors = ["The Fission Authors"]
  19. [dependencies]
  20. anyhow = "1.0"
  21. async-once-cell = "0.5"
  22. base64 = { version = "0.21", optional = true }
  23. base64-serde = { version = "0.7", optional = true }
  24. bytes = { version = "1.4", features = ["serde"] }
  25. chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
  26. cid = "0.10"
  27. dashmap = "5.5.3"
  28. futures = "0.3"
  29. libipld = { version = "0.16", features = ["dag-cbor", "derive", "serde-codec"] }
  30. multihash = "0.18"
  31. once_cell = "1.16"
  32. parking_lot = "0.12"
  33. proptest = { version = "1.1", optional = true }
  34. rand_core = "0.6"
  35. serde = { version = "1.0", features = ["rc"] }
  36. serde_ipld_dagcbor = "0.4.2"
  37. serde_json = { version = "1.0", optional = true }
  38. thiserror = "1.0"
  39. [dev-dependencies]
  40. async-std = { version = "1.11", features = ["attributes"] }
  41. base64 = "0.21"
  42. base64-serde = "0.7"
  43. proptest = "1.1"
  44. rand = "0.8"
  45. serde_json = "1.0"
  46. [features]
  47. test_utils = ["dep:proptest", "dep:base64-serde", "dep:base64", "dep:serde_json"]