# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.81" name = "openleadr-vtn" version = "0.0.3" build = false publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "OpenADR 3.0 VTN server" homepage = "https://github.com/OpenLEADR/openleadr-rs" readme = "README.md" keywords = [ "energy", "openadr", "lf-energy", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/OpenLEADR/openleadr-rs" [lib] name = "openleadr_vtn" path = "src/lib.rs" [[bin]] name = "openleadr-vtn" path = "src/main.rs" [dependencies.argon2] version = "0.5.3" optional = true [dependencies.axum] version = "0.7.5" features = ["macros"] [dependencies.axum-extra] version = "0.9.3" features = [ "query", "typed-header", ] [dependencies.base64] version = "0.22.1" [dependencies.chrono] version = "0.4.38" [dependencies.dotenvy] version = "0.15.7" optional = true [dependencies.http-body-util] version = "0.1.0" [dependencies.jsonwebtoken] version = "9.3.0" features = ["use_pem"] default-features = false [dependencies.mime] version = "0.3" [dependencies.openleadr-wire] version = "0.0.3" [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.12.4" features = [ "http2", "charset", "rustls-tls-native-roots", "json", ] default-features = false [dependencies.serde] version = "1.0.203" features = ["derive"] [dependencies.serde_json] version = "1.0.117" [dependencies.serde_with] version = "3.8.1" features = ["macros"] [dependencies.sqlx] version = "0.8.2" features = [ "postgres", "runtime-tokio", "chrono", "migrate", "macros", "json", ] optional = true default-features = false [dependencies.thiserror] version = "2.0.3" [dependencies.tokio] version = "1.37.0" features = [ "full", "test-util", "full", ] [dependencies.tower] version = "0.5" features = ["util"] [dependencies.tower-http] version = "0.6.1" features = ["trace"] [dependencies.tracing] version = "0.1.40" [dependencies.tracing-subscriber] version = "0.3.18" features = ["env-filter"] [dependencies.url] version = "2.5.0" [dependencies.uuid] version = "1.8.0" features = ["v4"] [dependencies.validator] version = "0.19.0" features = ["derive"] [dev-dependencies.serial_test] version = "3.1.1" [dev-dependencies.tokio] version = "1.37.0" features = [ "full", "test-util", "full", "test-util", ] [features] default = [ "postgres", "live-db-test", "internal-oauth", ] internal-oauth = [] live-db-test = [ "postgres", "internal-oauth", ] postgres = [ "sqlx/postgres", "dep:dotenvy", "dep:argon2", ]