Cargo.toml 887 B

1234567891011121314151617181920212223242526272829303132
  1. [package]
  2. name = "kvdb-overlay"
  3. version = "0.1.0"
  4. homepage = "https://dark.fi"
  5. description = "Overlay mechanism for key-value embedded databases"
  6. authors = ["Dyne.org foundation <foundation@dyne.org>"]
  7. repository = "https://git.dark.fi/darkrenaissance/kvdb-overlay"
  8. license = "AGPL-3.0-only"
  9. edition = "2024"
  10. [dependencies]
  11. thiserror = "2.0.18"
  12. fjall = { version = "3.1", optional = true }
  13. sled = { version = "0.34", optional = true }
  14. tempfile = "3.20.0"
  15. allocation-counter = { version = "0.8.1", optional = true }
  16. [dev-dependencies]
  17. # To execute async tests
  18. smol = "2"
  19. criterion = { version = "0.5.1", features = ["html_reports"] }
  20. [[bench]]
  21. name = "value_reads"
  22. harness = false
  23. [features]
  24. default = ["fjall-backend"]
  25. fjall-backend = ["fjall"]
  26. sled-backend = ["sled"]
  27. # Only used by the allocation-only mode of benches/value_reads.rs.
  28. bench-allocations = ["dep:allocation-counter"]