# 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 = "remote_config" version = "0.2.0" authors = ["Remote Config developers"] description = """ Flexible crate for asynchronously loading configuration from remote source with caching and automatic revalidation. """ readme = "README.md" keywords = [ "async", "config", "cached", "remote", ] categories = [ "asynchronous", "config", "caching", ] license-file = "LICENCE" repository = "https://github.com/CaptainDno/remote-config" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.arc-swap] version = "1.7.1" [dependencies.cache_control] version = "0.2.0" optional = true [dependencies.reqwest] version = "0.12.5" optional = true [dependencies.serde] version = "1.0.203" optional = true [dependencies.serde-xml-rs] version = "0.6.0" optional = true [dependencies.serde_json] version = "1.0.117" optional = true [dependencies.serde_yaml] version = "0.9.34" optional = true [dependencies.tokio] version = "1.38.0" features = [ "sync", "rt", ] [dependencies.toml] version = "0.8.14" optional = true [dependencies.tracing] version = "0.1.40" optional = true [dev-dependencies.mockito] version = "1.4.0" [dev-dependencies.serde] version = "1.0.203" features = ["derive"] [dev-dependencies.tokio] version = "1.38.0" features = [ "sync", "macros", "rt", ] [features] default = [ "http", "serde", "json", ] http = [ "dep:reqwest", "dep:cache_control", ] json = [ "serde", "dep:serde_json", ] non_static = [] serde = [ "http", "dep:serde", ] toml = [ "serde", "dep:toml", ] tracing = ["dep:tracing"] xml = [ "serde", "dep:serde-xml-rs", ] yaml = [ "serde", "dep:serde_yaml", ]