mirror of
https://github.com/hanzoai/cloud.git
synced 2026-11-17 16:36:24 +00:00
The single Go binary that runs the compute/backend control plane: KMS secrets, object storage, DNS/provisioning, PaaS, code + exec, zero-trust sharing, audit, gateway edge, feature flags, security, and the plugin runtime — every subsystem mounted from one composition root. Open-core by construction, not by deletion. The proprietary planes — identity, commerce, AI inference, observability, the message bus, billing — are injected through the cloud/types extension interfaces, so this binary links only public infrastructure libraries and a missing plane mounts fail-closed and says so rather than pretending to work. Published from a fresh root rather than a filtered history: the extraction it came from began life without git, and a squashed root is the only way to be sure no earlier blob travels with it. Runs on a laptop with no Kubernetes, no cluster and no external services — `CLOUD_DEV_UNENCRYPTED=1 cloud -data-dir /tmp/cloud` boots ~32 subsystems on HTTP and ZAP. Encryption at rest stays fatal-by-default on a capable build; the dev flag relaxes only the no-key case, loudly. Co-authored-by: Hanzo Dev <[email protected]>
35 lines
846 B
TOML
35 lines
846 B
TOML
# This crate is built standalone (the Go binding links its staticlib), so it
|
|
# must not be absorbed into whatever Cargo workspace happens to sit above the
|
|
# checkout directory. An empty [workspace] table declares that boundary.
|
|
[workspace]
|
|
|
|
[package]
|
|
name = "hanzo-flags"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
description = "Stateless PostHog-compatible flag evaluator embedded into hanzoai/cloud over FFI"
|
|
|
|
[lib]
|
|
name = "hanzo_flags"
|
|
crate-type = ["staticlib", "rlib"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
sha1 = "0.10"
|
|
chrono = { version = "0.4", default-features = false, features = ["std", "clock"] }
|
|
dateparser = "0.2"
|
|
fancy-regex = "0.14"
|
|
semver = "1"
|
|
tracing = "0.1"
|
|
regex = "1"
|
|
once_cell = "1"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
|
|
[dev-dependencies]
|
|
test-case = "3"
|