Expand description
Generic listing and trust-activation contracts for the Chio protocol.
This crate is used to publish, discover, compare, and activate marketplace
listings. It defines the signed Listing artifact, listing search and
comparison, SLA and pricing-hint shapes, and the trust-activation flow that
turns a discovered listing into a locally admissible one. Listings are
signed by their namespace owner and verification is pure. The governance
and open-market crates build on these types.
§Modules
discovery– listing search, comparison, and admissibility resolution.
Re-exports§
pub use discovery::compare;pub use discovery::provider_signing_key;pub use discovery::resolve_admissible_listing;pub use discovery::search;pub use discovery::Listing;pub use discovery::ListingComparison;pub use discovery::ListingComparisonRow;pub use discovery::ListingPricingHint;pub use discovery::ListingQuery;pub use discovery::ListingSearchResponse;pub use discovery::ListingSla;pub use discovery::SignedListingPricingHint;pub use discovery::LISTING_COMPARISON_SCHEMA;pub use discovery::LISTING_PRICING_HINT_SCHEMA;pub use discovery::LISTING_SEARCH_SCHEMA;pub use discovery::MAX_MARKETPLACE_SEARCH_LIMIT;
Modules§
- crypto
- Signing and verification primitives for Chio artifacts.
- discovery
- Capability marketplace discovery: search and compare extensions on top of
the generic listing surface in
crate. - outcome
- receipt
- Chio receipts: signed proof that a tool call was evaluated.
Structs§
- Generic
Listing Artifact - Generic
Listing Boundary - Generic
Listing Compatibility Reference - Generic
Listing Divergence - Generic
Listing Freshness Window - Generic
Listing Query - Generic
Listing Replica Freshness - Generic
Listing Report - Generic
Listing Search Error - Generic
Listing Search Policy - Generic
Listing Search Response - Generic
Listing Search Result - Generic
Listing Subject - Generic
Listing Summary - Generic
Namespace Artifact - Generic
Namespace Ownership - Generic
Registry Publisher - Generic
Trust Activation Artifact - Generic
Trust Activation Eligibility - Generic
Trust Activation Evaluation - Generic
Trust Activation Evaluation Request - Generic
Trust Activation Finding - Generic
Trust Activation Issue Request - Generic
Trust Activation Review Context - Monetary
Amount - A monetary amount with currency denomination.
Enums§
- Generic
Listing Actor Kind - Generic
Listing Freshness State - Generic
Listing Status - Generic
Namespace Lifecycle State - Generic
Registry Publisher Role - Generic
Trust Activation Disposition - Generic
Trust Activation Finding Code - Generic
Trust Admission Class
Constants§
- DEFAULT_
GENERIC_ LISTING_ REPORT_ MAX_ AGE_ SECS - GENERIC_
LISTING_ ARTIFACT_ SCHEMA - GENERIC_
LISTING_ NETWORK_ SEARCH_ SCHEMA - GENERIC_
LISTING_ REPORT_ SCHEMA - GENERIC_
LISTING_ SEARCH_ ALGORITHM_ V1 - GENERIC_
NAMESPACE_ ARTIFACT_ SCHEMA - GENERIC_
TRUST_ ACTIVATION_ ARTIFACT_ SCHEMA - MAX_
GENERIC_ LISTING_ LIMIT
Functions§
- aggregate_
generic_ listing_ reports - build_
generic_ trust_ activation_ artifact - canonical_
json_ bytes - Serialize a value to canonical JSON bytes (RFC 8785).
- ensure_
generic_ listing_ namespace_ consistency - ensure_
generic_ listing_ signed_ by_ namespace_ owner - evaluate_
generic_ trust_ activation - normalize_
namespace