Cargo.toml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  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://codeberg.org/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.3.0", optional = true}
  13. async-trait = {version = "0.1.80", optional = true}
  14. # Supported types for encoding
  15. blake3 = {version = "1.5.1", optional = true}
  16. bridgetree = {version = "0.4.0", optional = true}
  17. pasta_curves = {version = "0.5.1", optional = true}
  18. semver = {version = "1.0.23", optional = true}
  19. url = {version = "2.5.0", optional = true}
  20. num-bigint = {version = "0.4.5", optional = true}
  21. [features]
  22. default = ["derive", "semver"]
  23. derive = ["darkfi-derive"]
  24. async = ["futures-lite", "async-trait", "darkfi-derive/async"]
  25. collections = []
  26. crypto = ["collections", "hash", "bridgetree", "pasta_curves"]
  27. hash = ["blake3"]
  28. [lints]
  29. workspace = true