diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-11 22:02:37 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-08-11 22:02:37 +0200 |
commit | 9c850d6c4d0ed468709c2eb5340d7b64bbb9aa68 (patch) | |
tree | 4aa550323df9372e367932fa6bccf40db9aeac26 /crates | |
parent | 1ffebf617e651e1008d13bcc8cfbe79c9323c48b (diff) | |
download | warden-9c850d6c4d0ed468709c2eb5340d7b64bbb9aa68.tar.bz2 warden-9c850d6c4d0ed468709c2eb5340d7b64bbb9aa68.zip |
build(config): create crate
Diffstat (limited to 'crates')
-rw-r--r-- | crates/configuration/Cargo.toml | 34 | ||||
-rw-r--r-- | crates/configuration/src/main.rs | 3 |
2 files changed, 37 insertions, 0 deletions
diff --git a/crates/configuration/Cargo.toml b/crates/configuration/Cargo.toml new file mode 100644 index 0000000..86f6923 --- /dev/null +++ b/crates/configuration/Cargo.toml @@ -0,0 +1,34 @@ +[package] +name = "warden-config" +version = "0.1.0" +edition = "2024" +license.workspace = true +homepage.workspace = true +documentation.workspace = true +description.workspace = true + +[dependencies] +anyhow.workspace = true +clap = { workspace = true, features = ["derive"] } +config = { workspace = true, features = ["convert-case", "toml"] } +metrics.workspace = true +metrics-exporter-prometheus.workspace = true +serde = { workspace = true, features = ["derive"] } +serde_json.workspace = true +sqlx = { workspace = true, features = [ + "macros", + "migrate", + "postgres", + "runtime-tokio", + "time", + "tls-rustls", +] } +time.workspace = true +tokio = { workspace = true, features = ["macros", "rt-multi-thread", "signal"] } +tonic.workspace = true +tracing.workspace = true +warden-core = { workspace = true, features = ["configuration", "serde-time"] } + +[dependencies.warden-stack] +workspace = true +features = ["api", "cache", "postgres", "opentelemetry-tonic", "tracing-loki"] diff --git a/crates/configuration/src/main.rs b/crates/configuration/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/crates/configuration/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} |