Cargo.toml 932 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. cargo-features = ["workspace-inheritance"]
  2. [package]
  3. name = "database"
  4. build = "src/build.rs"
  5. version.workspace = true
  6. authors.workspace = true
  7. edition.workspace = true
  8. license.workspace = true
  9. [features]
  10. default = ["sqlite"]
  11. sqlite = ["sqlx/sqlite"]
  12. [dependencies]
  13. serde = { version = "^1", features = ["derive"] }
  14. serde_derive = "^1"
  15. serde_json = "^1"
  16. lazy_static = "^1"
  17. tracing-log = "0.1.2"
  18. tracing = "0.1.29"
  19. ring = "^0.16.11"
  20. uuid = { version = "0.8.1", features = ["v4"] }
  21. cfg-if = "1.0.0"
  22. sqlx = { version = "0.5", features = ["runtime-tokio-rustls"] }
  23. once_cell = "1.8.0"
  24. tokio = "1.14.0"
  25. base64 = "0.13.0"
  26. auth = { path = "../auth" }
  27. itertools = "0.10.3"
  28. thiserror = "1.0.30"
  29. displaydoc = "0.2.3"
  30. [dev-dependencies]
  31. tokio = { version = "1", default-features = false, features = ["rt", "macros"] }
  32. [build-dependencies]
  33. sqlx = { version = "0.5", features = ["runtime-tokio-rustls"] }
  34. tokio = "1.12.0"
  35. dotenv = "0.15.0"