[package] name = "modio-logger-db" readme = "README.md" keywords = ["modio", "database", "sqlite"] categories = ["data-structures", "embedded"] license.workspace = true version.workspace = true repository.workspace = true edition.workspace = true description.workspace = true authors.workspace = true [lints] workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] fsipc.workspace = true log.workspace = true thiserror.workspace = true tracing.workspace = true # 0.7.4 appears to have a leak that hits us # See this for some details & more links # https://github.com/launchbadge/sqlx/commit/b4f6596b0610fc761b21716323e16e165dcc7101#commitcomment-142564497 sqlx = {version = "=0.7.3", features=["sqlite", "runtime-async-std", "macros", "migrate"]} tokio = {version = "1.38", features=["sync"], default-features=false } async-std = { version = "1.10", features=["attributes"] } # async traits are unstable in rust. This is a macro that allows us to get it anyhow async-trait = "0.1" serde_json = "1.0" serde = { version ="1.0", features=["derive"]} tempfile = "3.6" radix_trie = "0.2.1" [dev-dependencies] # we need to generate uuid in test-cases uuid = {version = "1.1", features=["v4"]} # Test log sets up env_logger and / or tracing-subscriber for us in test-cases test-log = { version = "~0.2.12", features = ["log", "trace"]} # test-log requires tracing, and tracing-subscriber, but does not directly # depend on them, thus we need to list them here. tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "tracing-log"] } tracing = { version = "0.1", default-features = false } env_logger = "~0.11" timeout-macro = { version = "0.10", path = "../timeout-macro" }