1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//! # Hanzo — the Open AI Cloud SDK for Rust
//!
//! `hanzo` is the umbrella crate for the Hanzo Rust stack. It re-exports the
//! individual `hanzo-*` crates behind feature flags so you can pull in exactly
//! the pieces you need with a single dependency:
//!
//! ```toml
//! [dependencies]
//! hanzo = "0.2"
//! ```
//!
//! Each capability lives in its own crate and is surfaced here under a module of
//! the same short name, gated by a Cargo feature:
//!
//! | Feature | Module | Crate | What it is |
//! |---------|--------|-------|------------|
//! | `crypto` | [`crypto`] | [`hanzo-crypto`](https://docs.rs/hanzo-crypto) | Pure-Rust cryptography, incl. post-quantum (ML-KEM / ML-DSA) |
//! | `did` | [`did`] | [`hanzo-did`](https://docs.rs/hanzo-did) | Decentralized identifiers and verifiable identity |
//! | `agent` | [`agent`] | [`hanzo-agent`](https://docs.rs/hanzo-agent) | The agent runtime |
//! | `agents` | [`agents`] | [`hanzo-agents`](https://docs.rs/hanzo-agents) | Multi-agent orchestration |
//! | `agent-marketplace` | [`agent_marketplace`] | [`hanzo-agent-marketplace`](https://docs.rs/hanzo-agent-marketplace) | Agent marketplace |
//! | `mcp` | [`mcp`] | [`hanzo-mcp`](https://docs.rs/hanzo-mcp) | Model Context Protocol client + server |
//! | `embedding` | [`embedding`] | [`hanzo-embedding`](https://docs.rs/hanzo-embedding) | Embeddings and vector similarity |
//! | `kbs` | [`kbs`] | [`hanzo-kbs`](https://docs.rs/hanzo-kbs) | Key Broker Service for confidential compute |
//! | `guard` | [`guard`] | [`hanzo-guard`](https://docs.rs/hanzo-guard) | Guardrails and policy |
//! | `extract` | [`extract`] | [`hanzo-extract`](https://docs.rs/hanzo-extract) | Structured extraction |
//! | `config` | [`config`] | [`hanzo-config`](https://docs.rs/hanzo-config) | Shared configuration |
//! | `messages` | [`messages`] | [`hanzo-message-primitives`](https://docs.rs/hanzo-message-primitives) | Message primitives |
//!
//! The `default` feature set is `["crypto", "did", "agent"]`. Enable `full` for
//! everything, or pick à la carte:
//!
//! ```toml
//! hanzo = { version = "0.2", default-features = false, features = ["mcp", "embedding"] }
//! ```
//!
//! ## Two SDK lines
//!
//! - **This crate (the Rust stack)** — crypto, DID, agents, MCP, and more, as
//! native Rust crates.
//! - **Full Cloud SDK** — the generated client for the entire `/v1` cloud
//! surface. See the sibling SDKs below.
//!
//! ---
//!
//! **Hanzo — the Open AI Cloud.** Open source · every language · on-chain
//! settlement. [hanzo.ai](https://hanzo.ai) · [docs.hanzo.ai](https://docs.hanzo.ai)
//!
//! SDKs in every language:
//! [Python](https://github.com/hanzoai/python-sdk) (flagship) ·
//! [TypeScript](https://github.com/hanzo-js/sdk) ·
//! [Go](https://github.com/hanzo-go/sdk) ·
//! [Rust](https://github.com/hanzo-rs/sdk) ·
//! [C++](https://github.com/hanzo-cpp/sdk) ·
//! [Swift](https://github.com/hanzo-swift/sdk) ·
//! [Kotlin](https://github.com/hanzo-kt/sdk) ·
//! [umbrella](https://github.com/hanzoai/sdk)
pub use hanzo_crypto as crypto;
pub use hanzo_did as did;
pub use hanzo_message_primitives as messages;
pub use hanzo_config as config;
pub use hanzo_guard as guard;
pub use hanzo_extract as extract;
pub use hanzo_agent as agent;
pub use hanzo_agent_marketplace as agent_marketplace;
pub use hanzo_mcp as mcp;
pub use hanzo_agents as agents;
pub use hanzo_embedding as embedding;
pub use hanzo_kbs as kbs;
/// The version of the `hanzo` umbrella crate.
pub const VERSION: &str = env!;