This repository was archived by the owner on Aug 29, 2026. It is now read-only.
v0.1.0
·
11 commits
to master
since this release
Immutable
release. Only release title and notes can be modified.
clap_schema 0.1.0
Initial public release of clap_schema.
clap_schema turns Clap commands and typed Rust results into machine-readable contracts. It provides command discovery, argument metadata, and JSON Schemas for handler output types, with command registration and output types checked at compile time.
Installation
Add the crate:
cargo add clap_schemaclap_schema requires Rust 1.95+.
Notes
This is the first public release, so there is no upgrade procedure from an earlier version.
Clap remains the source of truth for command inputs, while typed Rust results define output schemas. clap_schema connects the two without introducing a parallel command or type system.
The crate is dual licensed under Apache-2.0 OR MIT.
Full Changelog: https://github.com/selemis-com/clap_schema/commits/v0.1.0