Skip to main content

Crate chio_listing

Crate chio_listing 

Source
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§

GenericListingArtifact
GenericListingBoundary
GenericListingCompatibilityReference
GenericListingDivergence
GenericListingFreshnessWindow
GenericListingQuery
GenericListingReplicaFreshness
GenericListingReport
GenericListingSearchError
GenericListingSearchPolicy
GenericListingSearchResponse
GenericListingSearchResult
GenericListingSubject
GenericListingSummary
GenericNamespaceArtifact
GenericNamespaceOwnership
GenericRegistryPublisher
GenericTrustActivationArtifact
GenericTrustActivationEligibility
GenericTrustActivationEvaluation
GenericTrustActivationEvaluationRequest
GenericTrustActivationFinding
GenericTrustActivationIssueRequest
GenericTrustActivationReviewContext
MonetaryAmount
A monetary amount with currency denomination.

Enums§

GenericListingActorKind
GenericListingFreshnessState
GenericListingStatus
GenericNamespaceLifecycleState
GenericRegistryPublisherRole
GenericTrustActivationDisposition
GenericTrustActivationFindingCode
GenericTrustAdmissionClass

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

Type Aliases§

SignedGenericListing
SignedGenericNamespace
SignedGenericTrustActivation