Repository navigation
Releases
Ferrum Alloy v0.1.0
Released 2026-11-21. This is the first release of Ferrum Alloy, a batteries-included toolkit for Rust API services built on Axum, with first-class support for running behind Ferrum Edge.
Distribution
Alloy is distributed from Git only (distribution decision, #24). The release is the Git tag v0.1.0; no crate is published to crates.io or any other registry, and every crate keeps publish = false. The release ships no build artifacts.
Depend on the release by tag:
[dependencies]
ferrum-alloy = { git = "https://github.com/ferrum-edge/ferrum-alloy", tag = "v0.1.0" }Install the CLI from the tag and generate a starter pinned to this release:
cargo install --locked --git https://github.com/ferrum-edge/ferrum-alloy --tag v0.1.0 ferrum-alloy-cli
ferrum-alloy new <name> --alloy-tag v0.1.0--locked installs the dependency versions in the tag's Cargo.lock, which CI tested. By default, ferrum-alloy new writes a git dependency that follows main; --alloy-tag, --alloy-branch, --alloy-rev, and --alloy-path change it (getting started).
Requirements
- MSRV: Rust 1.94 (
rust-version, set by sqlx 0.9). This is the first release, so there is no MSRV change. CI builds with Rust 1.98.1 (rust-toolchain.toml) and checks the MSRV in theMSRV (1.94)job. - Platforms: CI tests Linux x86_64, macOS, and Windows; the Docker-based jobs run on Linux x86_64 (compatibility).
Ferrum Edge pairing
| Item | Value |
|---|---|
| Supported Edge releases | v0.9.20 (contract baseline) and v0.9.19: the latest Edge release and the one before it |
| v0.9.20 | source e4a606a00352674daaef08636e3e359e6c48ba18, image ferrumedge/ferrum-edge@sha256:32a0b0574bb2ed105d315888fab12e33242e1cec3ae9f1ae34c1fb4d0c9a2689 |
| v0.9.19 | source 510ce7121c3d9754110d330a30a3bd9b7a7b278e, image ferrumedge/ferrum-edge@sha256:0e2ed6d720cbc474e29cfa6bcd3945db010674d69988e2bd795a26399c3cb80e |
| Edge mode | file, configuration generated by ferrum-alloy edge export and checked with ferrum-edge validate |
| Ferrum Contracts pin | contracts-edge-0.9.20 at 39da322083044c2e92617209e62983c92387f0ad (contracts/ferrum-contracts/PIN) |
| Shared contracts | ferrum.diagnostic_report v1 and ferrum.service_manifest v1 |
CI runs the Ferrum Edge end-to-end and Generated Edge configuration validates jobs once for each supported Edge release. Older Edge releases and unreleased Edge main are not supported. The full matrix, including the OpenTelemetry Collector and PostgreSQL versions, is in compatibility; compatibility.json holds the machine-readable Edge and Collector pins.
License
PolyForm Noncommercial 1.0.0 (LICENSE); commercial licensing is available (LICENSE-COMMERCIAL.md). The vendored Swagger UI files (crates/ferrum-alloy/assets/swagger-ui/, feature openapi-ui) keep their own Apache-2.0 and bundled third-party terms.
What is in v0.1.0
The changelog lists every change. In summary:
- Service runtime.
AlloyAppon Axum and Hyper: layered configuration (alloy.tomlandFERRUM_ALLOY_*), Problem Details errors, health and readiness, request and connection limits (including body-read stall and HTTP/2 flow-control protections), graceful shutdown with a drain budget, and a separate management listener whose detailed health, metrics, and management OpenAPI/UI require a management token (status-only probes do not). - Telemetry. Request telemetry with stable OpenTelemetry HTTP attribute names, Prometheus metrics, OTLP trace export (bounded, chunked, and never failing requests), and request-ID handling that trusts incoming IDs only from trusted peers by default.
- Integrations. TLS and mTLS with rustls, JWT verification against a JWKS, PostgreSQL through sqlx with migrations, an outbound HTTP client with explicit timeouts and redirects off by default, and OpenAPI 3.1 documents with an optional Swagger UI.
- Ferrum Edge (feature
edge, not in default features). Edge modesstandalone,gateway_preferred, andgateway_required.gateway_requiredserves application requests only from a verified gateway identity (mTLS); withhealth.app_endpoints = true, Alloy's status-only liveness and readiness routes are exempt so probes work. On requests it processes, the Edge policy removes gateway-asserted request headers unless the request comes from a verified gateway identity withedge.accept_consumer_identity = true. A configured network boundary (trust.networks) enables trusted-peer behavior (trace context, request IDs,Server-Timing) and is reported to handlers asGatewayVerification::NetworkTrusted; it never satisfiesgateway_requiredor identity handoff. Also: the service manifest,ferrum-alloy edge exportfor Edge file-mode YAML or a GitForgeOps tree, andx-ferrum-mcpagent tools. - Diagnostics. Retained diagnostic evidence and
ferrum-alloy diagnose, which explains a request from service evidence, OTLP files, and authenticated Edge diagnostic-reference lookups, stating what the evidence does and does not prove. - CLI.
ferrum-alloy newstarters (--with openapi,otel,edge,tls,postgres,jwt,http-client),check,openapi export,edge export,diagnose, andversion. - Security. The changelog records the security fixes made before this release, including the gateway-asserted header and trace-context hardening and dependency updates for RustSec advisories.
deny.tomlcarries two time-boxed advisory exceptions, both reached only through jsonwebtoken'srust_cryptobackend (featurejwt, which verifies signatures with public keys only) and both expiring on 2026-12-26: RUSTSEC-2023-0071 (rsa0.9.10) and RUSTSEC-2026-0387 (crypto-bigint0.5.5, owner-accepted on 2026-11-14, #294). See the security model.
Entries marked Breaking or Behavior change in the changelog describe changes relative to earlier main commits. They matter if you depended on Alloy by revision before this release.
Known limits
- The OpenTelemetry Rust tracing API and SDK that Alloy uses are documented upstream as beta.
- Service-side HTTP/3, gRPC tooling, and WebSocket message tracing are not supported.
- Before 1.0, a breaking change bumps the minor version.
Release checklist evidence
Every item of the release checklist is recorded here or on the GitHub release for v0.1.0; the items marked registry only do not apply to a Git release.
- Owner approval: the owner approved this first release on 2026-11-21.
- Version: all five crates share
workspace.package.version = "0.1.0". - Security review: the release pull request was reviewed read-only at its exact head commit by two independent AI reviewers (GPT-6.2 Sol at xhigh effort and Gemini 4 Neon at high effort) against the security model, as the release's security review. Findings and their dispositions are recorded in the release pull request, #331.
- Benchmark baseline: not a release gate. The owner closed #15 as not planned on 2026-11-04, so the committed budgets and the manually dispatched regression gate are diagnostic only (benchmarks); no regression-gate run is claimed for this release.
- SBOM and provenance: a CycloneDX SBOM generated from
Cargo.lockat the tagged commit is attached to the GitHub release. The release ships no build artifacts, so there is no provenance subject and no attestation is claimed. - Merge, tag, and CI evidence: the release commit is the GitHub merge commit of the release pull request. The tag, that commit, and its green
pushCI run are recorded on the GitHub release.
Release evidence
| Item | Value |
|---|---|
| Tag | v0.1.0 → c949978d7e90be33bac6a16e23744bcdd4ee3924 |
| Release commit | GitHub merge commit of #331; first parent 27c6f8d95b7c8da6164c5110abe0613494198690 (main), second parent a7a301213e8ee250e82c02803280313f7054ad0f (the reviewed PR head) |
| Push CI on the release commit | CI run 44954702629: success, all 19 jobs, including Package dry run, both Ferrum Edge end-to-end slots, both Generated Edge configuration validates slots, Generated projects, PostgreSQL integration, Dependency policy, MSRV (1.94), and Fuzz smoke |
| PR CI on the reviewed head | CI run 44953585354: success, all 19 jobs |
| Security review | Four rounds on #331 by GPT-6.2 Sol (xhigh) and Gemini 4 Neon (high), read-only at each exact head. Both returned "ready to merge" at a7a3012 with no Critical, High, or Medium fin... |