Cargo.toml 865 B

1234567891011121314151617181920212223242526272829
  1. [package]
  2. name = "darkfi-serial"
  3. version = "0.3.0"
  4. homepage = "https://dark.fi"
  5. description = "DarkFi serialization library"
  6. authors = ["darkfi <dev@dark.fi>"]
  7. repository = "https://github.com/darkrenaissance/darkfi"
  8. license = "AGPL-3.0-only"
  9. edition = "2021"
  10. [dependencies]
  11. darkfi-derive = {path = "./derive", optional = true}
  12. futures-lite = {version = "1.12.0", optional = true}
  13. # Supported types for encoding
  14. blake3 = {version = "1.3.1", optional = true}
  15. fxhash = {version = "0.2.1", optional = true}
  16. incrementalmerkletree = {version = "0.3.0", optional = true}
  17. pasta_curves = {version = "0.4.0", optional = true}
  18. url = {version = "2.3.1", optional = true}
  19. [features]
  20. default = ["derive"]
  21. derive = ["darkfi-derive"]
  22. async = ["futures-lite"]
  23. collections = ["fxhash"]
  24. crypto = ["collections", "hash", "incrementalmerkletree", "pasta_curves"]
  25. hash = ["blake3"]