| 1 | [package] |
| 2 | name = "journal-log-writer" |
| 3 | version.workspace = true |
| 4 | edition.workspace = true |
| 5 | rust-version.workspace = true |
| 6 | |
| 7 | [lints] |
| 8 | workspace = true |
| 9 | |
| 10 | [dependencies] |
| 11 | journal-common = { workspace = true } |
| 12 | journal-core = { workspace = true } |
| 13 | journal-registry = { workspace = true } |
| 14 | rdp = { workspace = true } |
| 15 | |
| 16 | uuid = { workspace = true, features = ["v4"] } |
| 17 | tracing = { workspace = true } |
| 18 | thiserror = { workspace = true } |
| 19 | nix = { workspace = true, features = ["time"] } |
| 20 | itoa = { workspace = true } |
| 21 | |
| 22 | # Optional serde support for structured logging |
| 23 | serde = { workspace = true, optional = true } |
| 24 | serde_json = { workspace = true, optional = true } |
| 25 | flatten-serde-json = { workspace = true, optional = true } |
| 26 | |
| 27 | [features] |
| 28 | serde-api = ["serde", "serde_json", "flatten-serde-json"] |
| 29 | |
| 30 | [dev-dependencies] |
| 31 | tempfile = { workspace = true } |
| 32 | serde_json = { workspace = true } |