# 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 = "feature-probe-event" version = "1.2.0" authors = ["maintain@featureprobe.com"] description = "FeatureProbe Internal Event Recorder and Collector for Rust" license = "Apache-2.0" [lib] name = "feature_probe_event" path = "src/lib.rs" [dependencies.axum] version = "0.5" features = ["headers"] optional = true [dependencies.headers] version = "0.3" [dependencies.parking_lot] version = "0.12" [dependencies.reqwest] version = "0.11" features = [ "rustls-tls", "json", ] optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" features = ["full"] optional = true [dependencies.tracing] version = "0.1" [dependencies.ureq] version = "2.4" optional = true [dependencies.url] version = "2" [dev-dependencies.axum] version = "0.5" features = ["headers"] [dev-dependencies.axum-extra] version = "0.2" features = ["typed-routing"] [dev-dependencies.lazy_static] version = "1.4" [dev-dependencies.reqwest] version = "0.11" features = ["rustls-tls"] default-features = false [dev-dependencies.rusty-hook] version = "^0.11.2" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tracing] version = "0.1" [dev-dependencies.tracing-subscriber] version = "0.3" [features] collector = ["axum"] default = ["use_std"] use_std = ["ureq"] use_tokio = [ "reqwest", "tokio", ]