[package]
edition = "2021"
rust-version = "1.70"
name = "flagkit"
version = "1.0.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Rust SDK for FlagKit feature flag management"
readme = "README.md"
keywords = [
"feature-flags",
"feature-toggles",
"flagkit",
]
categories = [
"api-bindings",
"config",
]
license = "MIT"
repository = "https://github.com/teracrafts/flagkit-sdk-rust"
[features]
default = []
[lib]
name = "flagkit"
path = "src/lib.rs"
[[example]]
name = "sdk-lab"
path = "sdk-lab/main.rs"
[[test]]
name = "cache_tests"
path = "tests/cache_tests.rs"
[[test]]
name = "circuit_breaker_tests"
path = "tests/circuit_breaker_tests.rs"
[[test]]
name = "error_code_tests"
path = "tests/error_code_tests.rs"
[[test]]
name = "evaluation_context_tests"
path = "tests/evaluation_context_tests.rs"
[[test]]
name = "evaluation_result_tests"
path = "tests/evaluation_result_tests.rs"
[[test]]
name = "event_persistence_tests"
path = "tests/event_persistence_tests.rs"
[[test]]
name = "flag_state_tests"
path = "tests/flag_state_tests.rs"
[[test]]
name = "flag_value_tests"
path = "tests/flag_value_tests.rs"
[[test]]
name = "http_client_tests"
path = "tests/http_client_tests.rs"
[[test]]
name = "options_tests"
path = "tests/options_tests.rs"
[[test]]
name = "security_tests"
path = "tests/security_tests.rs"
[dependencies.aes-gcm]
version = "0.10"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.fs2]
version = "0.4"
[dependencies.futures-util]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.hmac]
version = "0.12"
[dependencies.lazy_static]
version = "1.4"
[dependencies.once_cell]
version = "1.18"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pbkdf2]
version = "0.12"
features = ["simple"]
[dependencies.rand]
version = "0.8"
[dependencies.regex]
version = "1.10"
[dependencies.reqwest]
version = "0.11"
features = [
"json",
"stream",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = [
"rt-multi-thread",
"time",
"sync",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
[dependencies.urlencoding]
version = "2.1"
[dependencies.uuid]
version = "1.6"
features = ["v4"]
[dev-dependencies.tempfile]
version = "3.10"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.wiremock]
version = "0.5"