From 9c850d6c4d0ed468709c2eb5340d7b64bbb9aa68 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Mon, 11 Aug 2025 22:02:37 +0200 Subject: build(config): create crate --- crates/configuration/Cargo.toml | 34 ++++++++++++++++++++++++++++++++++ crates/configuration/src/main.rs | 3 +++ 2 files changed, 37 insertions(+) create mode 100644 crates/configuration/Cargo.toml create mode 100644 crates/configuration/src/main.rs (limited to 'crates') 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!"); +} -- cgit v1.2.3