[package] name = "modio-logger" readme = "README.md" keywords = ["modio", "dbus"] categories = ["embedded", "command-line-utilities"] 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 [lib] name = "mocklogger" path = "src/lib.rs" [[bin]] name = "modio-logger" path = "src/main.rs" [dependencies] modio-logger-db = { version = "~0.10", path = "../modio-logger-db" } fsipc.workspace = true log.workspace = true thiserror.workspace = true tracing.workspace = true serde = { version ="1.0", features=["derive"]} zbus = "4" tokio = { version = "1.29", features = ["sync"], default-features = false } # App specific deps argh = "0.1" tracing-subscriber = { version = "~0.3.17", features = ["env-filter", "fmt", "tracing-log"]} uuid = "1.2" # Async std stuff async-std = { version = "1.12", features = ["attributes"] } futures-util = "0.3" futures = "~0.3" event-listener = "5" # Probably should be in testing only tempfile = "3.2" serde_json = "1.0.113" [dev-dependencies] # 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 } # If test-log has "default features" enabled, we may also need to add env_logger to our deps. env_logger = "~0.11" timeout-macro = { version = "0", path = "../timeout-macro" }