Crate ccsr[][src]

Expand description

The ccsr crate provides an ergonomic API client for Confluent-compatible schema registries (CCSRs).

The only known CCSR implementation is the Confluent Schema Registry, but this crate is compatible with any implementation that adheres to the CCSR API specification.

Example usage

use ccsr::ClientConfig;

let url = "http://localhost:8080".parse()?;
let client = ClientConfig::new(url).build()?;
let subjects = client.list_subjects().await?;
for subject in subjects {
    let schema = client.get_schema_by_subject(&subject).await?;
    // Do something with `schema`.
}

Modules

TLS certificates and identities.

Structs

An API client for a Confluent-compatible schema registry.

Configuration for a Client.

A schema stored by a schema registry.

Required for publishing schemas that contain references.

Enums

Errors for delete operations.

Errors for schema lookups by ID.

Errors for schema lookups by subject.

Errors for list operations.

Errors for publish operations.