# 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 = "centaurs" version = "0.3.0" include = [ "src/", "LICENSE", "README.md", ] description = """ A utility crate. """ readme = "README.md" license = "Apache-2.0" repository = "https://github.com/divinerapier/centaurs" [[example]] name = "consumers" path = "examples/consumers.rs" required-features = ["messaging"] [[example]] name = "producer" path = "examples/producer.rs" required-features = ["messaging"] [[test]] name = "consumer" path = "tests/consumer.rs" required-features = ["messaging"] [[test]] name = "nacos-register" path = "tests/nacos-register.rs" required-features = ["nacos-servicediscovery"] [[test]] name = "discovery" path = "tests/discovery.rs" required-features = ["nacos-servicediscovery"] [dependencies.anyhow] version = "1" [dependencies.async-trait] version = "0.1" optional = true [dependencies.aws-config] version = "0.11.0" optional = true [dependencies.aws-endpoint] version = "0.11.0" optional = true [dependencies.aws-sdk-s3] version = "0.11.0" optional = true [dependencies.aws-types] version = "0.11.0" optional = true [dependencies.derive_builder] version = "0.11.2" optional = true [dependencies.futures] version = "0.3" optional = true [dependencies.lazy_static] version = "1.4" optional = true [dependencies.nacos_rust_client] version = "0.2" optional = true [dependencies.pnet_datalink] version = "0.29" optional = true [dependencies.rdkafka] version = "0.28" features = ["cmake-build"] optional = true [dependencies.serde] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.serde_yaml] version = "0.9" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" optional = true [dependencies.tracing] version = "0.1" optional = true [dev-dependencies.async-trait] version = "0.1" [dev-dependencies.chrono] version = "0.4" [dev-dependencies.futures] version = "0.3" [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", "rt-multi-thread", "signal", ] [dev-dependencies.tracing-subscriber] version = "0.3" [features] base62 = ["dep:lazy_static"] configuration = ["dep:async-trait"] cos = [ "dep:aws-config", "dep:aws-sdk-s3", "dep:aws-types", "dep:aws-endpoint", ] datalink = ["dep:pnet_datalink"] default = ["full"] full = [ "base62", "configuration", "cos", "datalink", "messaging", "nacos", "nacos-configuration", "nacos-servicediscovery", "servicediscovery", ] messaging = [ "dep:async-trait", "dep:futures", "dep:rdkafka", "dep:tokio", "dep:tracing", ] nacos = [ "datalink", "dep:nacos_rust_client", "dep:tracing", "dep:derive_builder", ] nacos-configuration = [ "nacos", "configuration", ] nacos-servicediscovery = [ "nacos", "servicediscovery", ] servicediscovery = [ "dep:futures", "dep:async-trait", "dep:derive_builder", "dep:lazy_static", "dep:tracing", ]