# 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" rust-version = "1.74.0" name = "launchdarkly-server-sdk" version = "2.4.1" authors = ["LaunchDarkly"] exclude = ["coverage.sh"] description = "LaunchDarkly Server-Side SDK" homepage = "https://docs.launchdarkly.com/sdk/server-side/rust" readme = "README.md" keywords = [ "launchdarkly", "launchdarkly-sdk", "feature-flags", "feature-toggles", ] license = "Apache-2.0" repository = "https://github.com/launchdarkly/rust-server-sdk" [package.metadata.docs.rs] features = ["event-compression"] [[example]] name = "print_flags" required-features = ["rustls"] [[example]] name = "progress" required-features = ["rustls"] [dependencies.chrono] version = "0.4.19" [dependencies.crossbeam-channel] version = "0.5.1" [dependencies.data-encoding] version = "2.3.2" [dependencies.eventsource-client] version = "0.13.0" default-features = false [dependencies.flate2] version = "1.0.35" optional = true [dependencies.futures] version = "0.3.12" [dependencies.hyper] version = "0.14.19" features = [ "client", "http1", "http2", "tcp", ] [dependencies.hyper-rustls] version = "0.24.1" optional = true [dependencies.launchdarkly-server-sdk-evaluation] version = "2.0.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.14" [dependencies.lru] version = "0.12.0" default-features = false [dependencies.moka] version = "0.12.1" features = ["sync"] [dependencies.parking_lot] version = "0.12.0" [dependencies.rand] version = "0.8" [dependencies.ring] version = "0.17.5" [dependencies.serde] version = "1.0.132" features = ["derive"] [dependencies.serde_json] version = "1.0.73" features = ["float_roundtrip"] [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.17.0" features = ["rt-multi-thread"] [dependencies.tokio-stream] version = "0.1.8" features = ["sync"] [dependencies.uuid] version = "1.2.2" features = ["v4"] [dev-dependencies.assert-json-diff] version = "2.0.2" [dev-dependencies.async-std] version = "1.12.0" [dev-dependencies.env_logger] version = "0.10.0" [dev-dependencies.maplit] version = "1.0.1" [dev-dependencies.mockito] version = "1.2.0" [dev-dependencies.reqwest] version = "0.12.4" features = ["json"] [dev-dependencies.serde_json] version = "1.0.73" features = ["preserve_order"] [dev-dependencies.test-case] version = "3.2.1" [dev-dependencies.tokio] version = "1.17.0" features = [ "macros", "time", ] [features] default = ["rustls"] event-compression = ["flate2"] rustls = [ "hyper-rustls/http1", "hyper-rustls/http2", "eventsource-client/rustls", ]