[package]
edition = "2021"
rust-version = "1.75.0"
name = "growthbook-rust"
version = "0.2.0"
authors = ["Growthbook <hello@growthbook.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Official Growthbook Rust SDK"
homepage = "https://github.com/growthbook/growthbook-rust"
readme = "README.md"
keywords = [
"growthbook",
"experimentation",
"feature-flags",
"ab-testing",
]
categories = ["web-programming"]
license = "MIT"
repository = "https://github.com/growthbook/growthbook-rust"
[features]
default = ["tracing"]
tracing = [
"dep:tracing",
"dep:reqwest-tracing",
]
[lib]
name = "growthbook_rust"
path = "src/lib.rs"
[[test]]
name = "case_fold_unicode"
path = "tests/case_fold_unicode.rs"
[[test]]
name = "case_insensitive_operators"
path = "tests/case_insensitive_operators.rs"
[[test]]
name = "commons"
path = "tests/commons.rs"
[[test]]
name = "empty_object_condition"
path = "tests/empty_object_condition.rs"
[[test]]
name = "encrypted_features"
path = "tests/encrypted_features.rs"
[[test]]
name = "eq_ne_strict_equality"
path = "tests/eq_ne_strict_equality.rs"
[[test]]
name = "feature_result_rule_experiment"
path = "tests/feature_result_rule_experiment.rs"
[[test]]
name = "get_object_value"
path = "tests/get_object_value.rs"
[[test]]
name = "get_string_value"
path = "tests/get_string_value.rs"
[[test]]
name = "in_group_operators"
path = "tests/in_group_operators.rs"
[[test]]
name = "is_on_condition_elem_match_eq"
path = "tests/is_on_condition_elem_match_eq.rs"
[[test]]
name = "is_on_condition_gt"
path = "tests/is_on_condition_gt.rs"
[[test]]
name = "is_on_condition_gte"
path = "tests/is_on_condition_gte.rs"
[[test]]
name = "is_on_condition_lt"
path = "tests/is_on_condition_lt.rs"
[[test]]
name = "is_on_condition_lte"
path = "tests/is_on_condition_lte.rs"
[[test]]
name = "is_on_condition_multiple_strings"
path = "tests/is_on_condition_multiple_strings.rs"
[[test]]
name = "is_on_condition_not_elem_match_eq"
path = "tests/is_on_condition_not_elem_match_eq.rs"
[[test]]
name = "is_on_condition_regex"
path = "tests/is_on_condition_regex.rs"
[[test]]
name = "is_on_rule_experiment"
path = "tests/is_on_rule_experiment.rs"
[[test]]
name = "is_on_rule_force"
path = "tests/is_on_rule_force.rs"
[[test]]
name = "is_on_rule_rollout"
path = "tests/is_on_rule_rollout.rs"
[[test]]
name = "manual_features"
path = "tests/manual_features.rs"
[[test]]
name = "parent_conditions_gate_skip"
path = "tests/parent_conditions_gate_skip.rs"
[[test]]
name = "parent_conditions_with_force"
path = "tests/parent_conditions_with_force.rs"
[[test]]
name = "regex_non_string_pattern"
path = "tests/regex_non_string_pattern.rs"
[[test]]
name = "sticky_bucket_tests"
path = "tests/sticky_bucket_tests.rs"
[[test]]
name = "type_empty_object"
path = "tests/type_empty_object.rs"
[[test]]
name = "update_features_worker"
path = "tests/update_features_worker.rs"
[dependencies.aes]
version = "0.8.4"
[dependencies.base64]
version = "0.22.1"
[dependencies.cbc]
version = "0.1.2"
[dependencies.chrono]
version = "0.4.38"
[dependencies.hashers]
version = "1.0.1"
[dependencies.indexmap]
version = "2.2.6"
features = ["serde"]
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.rand]
version = "0.8.5"
[dependencies.regex]
version = "1.10.4"
[dependencies.reqwest]
version = "0.12.4"
features = [
"json",
"rustls-tls",
]
default-features = false
[dependencies.reqwest-middleware]
version = "0.4.0"
[dependencies.reqwest-tracing]
version = "0.5.4"
features = ["opentelemetry_0_21"]
optional = true
[dependencies.serde]
version = "1.0.203"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.117"
[dependencies.strum]
version = "0.27.1"
[dependencies.strum_macros]
version = "0.27.1"
[dependencies.thiserror]
version = "1.0.61"
[dependencies.tokio]
version = "1.38.0"
features = ["full"]
[dependencies.tracing]
version = "0.1.40"
optional = true
[dependencies.url]
version = "2.5.0"
[dev-dependencies.rand]
version = "0.8.5"
[dev-dependencies.rstest]
version = "0.25.0"
[dev-dependencies.test-context]
version = "0.4.1"
[dev-dependencies.tower]
version = "0.5.2"
features = ["util"]
[dev-dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.uuid]
version = "1.8.0"
features = [
"v7",
"serde",
]
[dev-dependencies.wiremock]
version = "0.6.0"