Cargo.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [package]
  2. name = "darkfi-serial"
  3. version = "0.5.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. # Uncomment this when publishing crate
  11. #[workspace]
  12. #members = [
  13. # "./derive-internal",
  14. # "./derive",
  15. # "./",
  16. #]
  17. [dependencies]
  18. darkfi-derive = {version = "0.5.1", optional = true}
  19. futures-lite = {version = "2", optional = true}
  20. async-trait = {version = "0", optional = true}
  21. # Supported types for encoding
  22. blake3 = {version = "1", optional = true}
  23. bridgetree = {version = "0.7", optional = true}
  24. pasta_curves = {version = "0.5", optional = true}
  25. semver = {version = "1", optional = true}
  26. url = {version = "2", optional = true}
  27. num-bigint = {version = "0.4", optional = true}
  28. [features]
  29. default = ["derive", "semver"]
  30. derive = ["darkfi-derive"]
  31. async = ["futures-lite", "async-trait", "darkfi-derive/async"]
  32. collections = []
  33. crypto = ["collections", "hash", "bridgetree", "pasta_curves"]
  34. hash = ["blake3"]