# 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 = "prom-remote-api" version = "0.3.0" authors = ["Jiacai Liu "] description = "Prometheus remote storage API for Rust" homepage = "https://github.com/jiacai2050/prom-remote-api" readme = "README.md" keywords = [ "prometheus", "API", "remote", "storage", ] license = "Apache-2.0" repository = "https://github.com/jiacai2050/prom-remote-api" [package.metadata.docs.rs] all-features = true [[example]] name = "warp-demo" path = "./examples/warp-demo.rs" required-features = [ "warp", "tokio", ] [[example]] name = "actix-demo" path = "./examples/actix-demo.rs" required-features = ["actix"] [dependencies.actix-web] version = "4" optional = true [dependencies.async-trait] version = "0.1.61" [dependencies.bytes] version = "1.4.0" [dependencies.env_logger] version = "0.10.0" [dependencies.futures] version = "0.3.25" [dependencies.prost] version = "0.11.6" [dependencies.snap] version = "1.1.0" [dependencies.tokio] version = "1.24.1" features = ["macros"] optional = true [dependencies.warp] version = "0.3.2" optional = true [build-dependencies.prost-build] version = "0.11.6" [features] actix = ["dep:actix-web"] default = [] tokio = ["dep:tokio"] warp = ["dep:warp"]