Cargo.toml 843 B

12345678910111213141516171819202122232425262728293031323334353637
  1. [package]
  2. name = "verax"
  3. version = "0.1.0"
  4. edition = "2021"
  5. [dependencies]
  6. async-trait = "0.1.73"
  7. bincode = { version = "1.3.3", features = ["i128"] }
  8. chrono = { version = "0.4.31", features = ["serde"] }
  9. futures = { version = "0.3.30", optional = true }
  10. hex = "0.4.3"
  11. serde = { version = "1.0.188", features = ["derive"] }
  12. sha2 = "0.10.7"
  13. sqlx = { version = "0.7.1", features = [
  14. "runtime-tokio",
  15. "runtime-async-std-native-tls",
  16. "tls-native-tls",
  17. "sqlite",
  18. "chrono",
  19. ], optional = true }
  20. thiserror = "1.0.48"
  21. tokio = { version = "1.32.0", features = ["full"] }
  22. [dev-dependencies]
  23. rand = "0.8.5"
  24. futures = "0.3.30"
  25. sqlx = { version = "0.7.1", features = [
  26. "runtime-tokio",
  27. "runtime-async-std-native-tls",
  28. "tls-native-tls",
  29. "sqlite",
  30. "chrono",
  31. ] }
  32. [features]
  33. default = []
  34. sqlite = ["sqlx", "futures"]