# 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" name = "dsh_sdk" version = "0.4.10" authors = ["KPN"] exclude = [ "/tmp", "/test_files", ] description = "SDK for KPN Data Services Hub" homepage = "https://www.kpn.com/dsh" readme = "README.md" keywords = [ "kpn", "dsh", "sdk", ] license = "Apache-2.0" repository = "https://github.com/kpn-dsh/dsh-sdk-platform-rs" [package.metadata.docs.rs] all-features = true [dependencies.base64] version = "0.22" optional = true [dependencies.bytes] version = "1.6" optional = true [dependencies.dashmap] version = "6.0" optional = true [dependencies.http-body-util] version = "0.1" optional = true [dependencies.hyper] version = "1.3" features = [ "server", "http1", ] optional = true [dependencies.hyper-util] version = "0.1" features = ["tokio"] optional = true [dependencies.lazy_static] version = "1.5" optional = true [dependencies.log] version = "0.4" [dependencies.pem] version = "3" [dependencies.prometheus] version = "0.13" features = ["process"] optional = true [dependencies.rcgen] version = "0.13" optional = true [dependencies.rdkafka] version = "0.36" features = ["cmake-build"] optional = true [dependencies.reqwest] version = "0.12" features = [ "rustls-tls", "json", "blocking", ] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" optional = true [dependencies.sha2] version = "0.10" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "^1.35" features = [ "signal", "sync", "time", "macros", ] optional = true [dependencies.tokio-util] version = "0.7" optional = true default-features = false [dev-dependencies.dsh_rest_api_client] version = "0.2.0" [dev-dependencies.hyper] version = "1.2.0" features = ["full"] [dev-dependencies.mockito] version = "1.1.1" [dev-dependencies.openssl] version = "0.10" [dev-dependencies.serial_test] version = "3.1.0" [dev-dependencies.tokio] version = "^1.35" features = ["full"] [features] bootstrap = [ "rcgen", "serde_json", "reqwest", "tokio/rt-multi-thread", ] default = [ "bootstrap", "graceful_shutdown", "metrics", "rdkafka-ssl", ] dlq = [ "tokio", "bootstrap", "rdkafka-ssl", "graceful_shutdown", ] graceful_shutdown = [ "tokio", "tokio-util", ] metrics = [ "prometheus", "hyper", "hyper-util", "http-body-util", "lazy_static", "tokio", "bytes", ] mqtt-token-fetcher = [ "base64", "dashmap", "reqwest", "serde_json", "sha2", "tokio/sync", ] rdkafka-ssl = [ "rdkafka", "rdkafka/ssl", ] rdkafka-ssl-vendored = [ "rdkafka", "rdkafka/ssl-vendored", ] rest-token-fetcher = ["reqwest"]