oas-document (Rust)
OAS Identity Document types and validation for the Open Agent Specification
Purpose
OAS Identity Document types and validation for the Open Agent Specification
Source contract
| Field | Value |
|---|---|
| Package | oas-document |
| Version | 1.1.1 |
| Language | Rust |
| Runtime floor | 1.81 |
| Manifest | oas/oas/oas-document/Cargo.toml |
| Distribution | Source package; registry publication not verified |
Manifest SHA-256: ef4dae55cb489bd03c118b47432cf56dc986dc3fc68a7308437556706c844b06. The recorded Git revision identifies the containing repository; the manifest and entry-point hashes identify this working-tree snapshot.
Integration
Use the package root above from an authorized source checkout. Preserve sibling dependencies and their version/feature requirements. Install the runtime and compile the selected package before using its generated artifacts. The task guide describes configuration, trust boundaries, and error behavior. Test/conformance and deployment packages are supporting tools, not interchangeable production identity providers.
Exported entry points
The declarations below are extracted from the named entry files. This is a navigable source reference, not compiler-generated documentation of every transitive module. Feature gates and runtime requirements still apply. Private implementation files are not promoted to public APIs merely because they contain a public declaration.
oas/oas/oas-document/src/lib.rs
Source SHA-256: ae6cedb59a5abc8a4b74aaa59115ee9c7fab1f715ea69bf7870a264daf7434d3.
pub mod builder;
pub mod calendar;
pub mod compliance;
pub mod conformance;
pub mod contact;
pub mod document;
pub mod error;
pub mod governance;
pub mod interop;
pub mod lifecycle;
pub mod lineage_section;
pub mod operational;
pub mod pricing;
pub mod profile;
pub mod proof_format;
pub mod relationships;
pub mod reputation;
pub mod service;
pub mod verification_method;
pub mod visibility;
pub use document::OasDocument;
pub use error::DocumentError;
pub use governance::{
GovernancePolicy, GovernanceSection, GovernanceTransition, GovernanceTransitionProof,
};Module signatures and options
Browse the declared public source modules. This includes signatures, struct fields, enums, traits, method declarations, source comments and conditional attributes.