Expand description
Zenmanage Rust SDK.
This crate provides async feature-flag evaluation with local rule caching, deterministic percentage rollouts, and optional web framework integrations.
Re-exports§
pub use config::CacheBackendType;pub use config::Config;pub use config::ConfigBuilder;pub use context::Attribute;pub use context::Context;pub use context::ContextValue;pub use defaults::DefaultsCollection;pub use errors::Result;pub use errors::ZenmanageError;pub use flag::Flag;pub use flag::FlagValue;pub use flag_manager::FlagManager;pub use zenmanage::Zenmanage;
Modules§
- api_
client - The HTTP client for the Zenmanage API.
- cache
- Caching of the rules payload between loads.
- config
- SDK configuration.
- context
- The context flags are evaluated for.
- defaults
- Fallback values for flags that can’t be resolved.
- errors
- Errors returned by the SDK.
- flag
- Flags and their typed values.
- flag_
manager - Loading and evaluating flags.
- integrations
- Helpers that share the SDK with a web framework’s handlers.
- rollout
- Percentage rollout bucketing.
- rule_
engine - Targeting rule evaluation.
- types
- The shapes of the API payloads.
- zenmanage
- The SDK entry point.