Cargo.toml 976 B

12345678910111213141516171819202122232425262728293031
  1. [package]
  2. name = "darkfi-serial"
  3. version = "0.4.1"
  4. homepage = "https://dark.fi"
  5. description = "DarkFi serialization library"
  6. authors = ["Dyne.org foundation <foundation@dyne.org>"]
  7. repository = "https://github.com/darkrenaissance/darkfi"
  8. license = "AGPL-3.0-only"
  9. edition = "2021"
  10. [dependencies]
  11. darkfi-derive = {version = "0.4.1", path = "./derive", optional = true}
  12. futures-lite = {version = "2.1.0", optional = true}
  13. async-trait = {version = "0.1.74", optional = true}
  14. # Supported types for encoding
  15. blake3 = {version = "1.5.0", optional = true}
  16. bridgetree = {version = "0.4.0", optional = true}
  17. pasta_curves = {version = "0.5.1", optional = true}
  18. semver = {version = "1.0.20", optional = true}
  19. url = {version = "2.5.0", optional = true}
  20. [features]
  21. default = ["derive", "semver"]
  22. derive = ["darkfi-derive"]
  23. async = ["futures-lite", "async-trait", "darkfi-derive/async"]
  24. collections = []
  25. crypto = ["collections", "hash", "bridgetree", "pasta_curves"]
  26. hash = ["blake3"]