Files
zeekay d11b4995f6 hanzoai/flags — the canonical flag SDK home: Go, Python, TypeScript, Rust + C FFI
One engine (cloud /v1/flags: stateless Rust evaluator, SQLite-per-project
definitions, PostHog-compatible semantics), a thin client in every language:

  go/          github.com/hanzoai/flags/go   — Client.Evaluate, IsEnabled/Variant/Payload
  python/      hanzo-flags (PyPI)            — Flags.evaluate, zero-dep stdlib
  typescript/  @hanzo/flags (npm, published) — HanzoFlags.load + TTL cache, fail-safe
  rust/        hanzo-flags-client (crates)   — Flags::evaluate, reqwest+rustls
  C/C++        via the evaluator's C ABI     — hanzo_flags_evaluate/_free

README shows the exact per-language usage; in-process consumers (cloud
subsystems) use featureflags.Bool/Int/String or the evaluator crate directly.
2026-07-15 21:25:13 -07:00

15 lines
539 B
TOML

[package]
name = "hanzo-flags-client"
version = "0.1.0"
edition = "2021"
license = "MIT"
description = "Rust client for the Hanzo native flags engine (cloud /v1/flags) — PostHog-compatible shapes"
repository = "https://github.com/hanzoai/flags"
documentation = "https://docs.hanzo.ai/docs/flags"
keywords = ["feature-flags", "ab-testing", "experiments", "hanzo"]
[dependencies]
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"