Developer Tooling
Rust workspace tooling built for descriptor parsing, validation rules, and censorship-resistant developer workflows.
descriptor-POC
A Rust workspace implementing output descriptor parsing and validation rules, structured as composable crates with a proof-of-concept CLI and mock service for end-to-end testing.
$ cargo build --workspaceCompiling descriptor v0.1.0Compiling client v0.1.0Compiling poc-cli v0.1.0Compiling mock-service v0.1.0Finished dev [unoptimized] target(s)$ ./target/debug/poc-cli validate --helpParse and validate an output descriptorUsage: poc-cli validate <DESCRIPTOR>
The foundational crate implementing descriptor parsing and the validation rules that govern descriptor correctness, structure, and policy semantics.
- Descriptor parsing into a typed AST
- Validation rules for policy structure and key origin
- Deterministic checksum handling
A client crate providing the interaction surface for consumers that need to construct, validate, and inspect descriptors against the core rules.
- High-level builder API over the core parser
- Validation result reporting for downstream consumers
- Decoupled from transport specifics
A proof-of-concept CLI exposing descriptor parsing and validation as a developer-facing command, designed for quick inspection and scripting.
- Parse and validate descriptors from stdin or args
- Human-readable validation diagnostics
- Composable in shell pipelines
A mock service crate simulating a descriptor-aware service endpoint, enabling end-to-end testing of the client and CLI against a controlled, predictable backend.
- Predictable simulated responses
- Integration test scaffolding for the full workspace
- No external network dependencies