@@ -91,12 +91,13 @@ Hadrian uses Cargo feature flags for modular compilation. Choose a profile based
9191
9292### Profiles
9393
94- | Profile | Features | Use Case |
95- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
96- | ` tiny ` | OpenAI + Test providers only — no database, no embedded assets | Stateless API proxy, smallest binary |
97- | ` minimal ` | tiny + all providers (Anthropic, Azure, Bedrock, Vertex), SQLite, embedded UI, wizard | Development, Windows, embedded |
98- | ` standard ` | minimal + PostgreSQL, Redis, OTLP, Prometheus, CEL, SSO, basic doc extraction, embedded docs, OpenAPI docs, S3, secrets managers (AWS/Azure/GCP/Vault), forecasting, JSON schema, response validation, CSV export | Typical deployment |
99- | ` full ` (default) | standard + SAML, Kreuzberg (full doc extraction), ClamAV (virus scan) | Production multi-tenant |
94+ | Profile | Features | Use Case |
95+ | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
96+ | ` tiny ` | OpenAI + Test providers only — no database, no embedded assets | Stateless API proxy, smallest binary |
97+ | ` minimal ` | tiny + all providers (Anthropic, Azure, Bedrock, Vertex), SQLite, embedded UI, embedded catalog, wizard | Development, Windows, embedded |
98+ | ` standard ` | minimal + PostgreSQL, Redis, OTLP, Prometheus, CEL, SSO, basic doc extraction, embedded docs, OpenAPI docs, S3, secrets managers (AWS/Azure/GCP/Vault), forecasting, JSON schema, response validation, CSV export | Typical deployment |
99+ | ` full ` (default) | standard + SAML, Kreuzberg (full doc extraction), ClamAV (virus scan) | Production multi-tenant |
100+ | ` headless ` | All ` full ` features except embedded assets (no UI, docs, or catalog) | ` cargo install ` , separate frontend, CI/CD |
100101
101102Build with a specific profile:
102103
@@ -112,6 +113,9 @@ cargo build --release --no-default-features --features standard
112113
113114# Everything enabled (default)
114115cargo build --release
116+
117+ # All features without embedded assets — for cargo install or separate frontend
118+ cargo build --release --no-default-features --features headless
115119```
116120
117121### Individual Feature Flags
@@ -128,6 +132,7 @@ Select individual features for a custom build by combining flags with `--no-defa
128132| | ` provider-azure ` | Azure OpenAI (pulls in ` azure-sdk ` ) | minimal |
129133| ** Assets** | ` embed-ui ` | Embedded web UI | minimal |
130134| | ` embed-docs ` | Embedded documentation site | standard |
135+ | | ` embed-catalog ` | Embedded model catalog from models.dev | minimal |
131136| ** Databases** | ` database-sqlite ` | SQLite database support | minimal |
132137| | ` database-postgres ` | PostgreSQL database support | standard |
133138| ** Secrets** | ` vault ` | HashiCorp Vault | standard |
0 commit comments