Cargo.toml 886 B

1234567891011121314151617181920212223242526272829
  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 = "1.13.0", optional = true}
  13. # Supported types for encoding
  14. blake3 = {version = "1.4.1", optional = true}
  15. bridgetree = {version = "0.3.0", optional = true}
  16. pasta_curves = {version = "0.5.1", optional = true}
  17. semver = {version = "1.0.17", optional = true}
  18. url = {version = "2.4.0", optional = true}
  19. [features]
  20. default = ["derive", "semver"]
  21. derive = ["darkfi-derive"]
  22. async = ["futures-lite"]
  23. collections = []
  24. crypto = ["collections", "hash", "bridgetree", "pasta_curves"]
  25. hash = ["blake3"]