lodestone-client 0.0.16

Current-only asynchronous Rust client for the Lodestone API
Documentation
//! Current-only asynchronous Rust client for the Lodestone API.
//!
//! Semantic request, result, error, cursor, locator, aggregation, usage, and
//! subscription types come exclusively from [`lodestone_wire`]. This
//! crate owns only external-client concerns: validated local profile material,
//! secret-safe credential access, bounded TLS transport, retry/submission
//! classification, helpers, and the canonical gRPC subscription stream.

mod bootstrap_credential;
mod bulk;
mod client_material;
mod cluster_control;
mod config;
mod connection_doctor;
mod credential;
mod credential_rotation;
mod development_workflows;
mod exact_workflows;
mod generated;
mod generated_tool_packs;
mod operation_waiter;
mod pager;
mod portability;
mod provisioning;
mod secure_publication;
mod state;
mod subscription;
mod tooling;
mod transport;
mod workflow_journal;

pub use bootstrap_credential::{
    BOOTSTRAP_API_KEY_GENERATION, BOOTSTRAP_API_KEY_ID, BootstrapCredentialError, MAX_BOOTSTRAP_CREDENTIAL_BYTES,
    PreparedBootstrapCredential,
};
pub use bulk::{BulkExecution, BulkRecoveryError};
pub use client_material::{
    CLIENT_MATERIAL_CREDENTIAL_REFERENCE_OWNER, CLIENT_MATERIAL_FORMAT_VERSION, CLIENT_MATERIAL_SCHEMA_ID,
    ClientMaterialError, ClientMaterialFileReferenceV1, ClientMaterialSupplyBindingV1, ClientMaterialV1,
    ClientTrustMaterialReferenceV1, MAX_CLIENT_MATERIAL_BYTES,
};
pub use cluster_control::{
    CLUSTER_CONTROL_ALPN, ClusterControlClient, ClusterControlClientConfig, ClusterControlClientError,
    ClusterControlCredential, ClusterControlRefusal,
};
pub use config::{
    CellOperationClass, CellTransportConfig, CellTransportIdentity, ClientConfigError, CollectionSessionConfig,
    PoolConfig, TlsTrust, ValidatedConnectionProfile, ValidatedEndpoint,
};
pub use connection_doctor::{
    ConnectionDoctorFailure, ConnectionDoctorFailureClass, ConnectionDoctorReport, ConnectionDoctorStage,
};
pub use credential::{
    ActiveOperationalCredential, CredentialActivationError, CredentialActivationPlan, CredentialFuture,
    CredentialMaterial, CredentialMaterialStoreError, CredentialProvider, CredentialProviderError,
    EphemeralCredentialDelivery, EphemeralDeliveryFuture, FileCredentialProvider, OperationalCredentialMaterialStore,
    PendingOperationalCredential, SecretBytes, SecretStoreFuture, StoredCredentialTransition,
};
pub use credential_rotation::{
    AtomicFileCredentialMaterialStore, CREDENTIAL_ROTATION_FORMAT_VERSION, CredentialRotationError,
    CredentialRotationIntent, CredentialRotationState, CredentialRotationTransition, RecoverableServiceCredentialFile,
    StagedCredential, StagedServiceCredentialFile, credential_file_reference,
};
pub use development_workflows::{
    DEVELOPMENT_MATERIALIZE_FORMAT_VERSION, DEVELOPMENT_PKI_SUCCESSOR_FORMAT_VERSION,
    DEVELOPMENT_RECONCILE_FORMAT_VERSION, DevelopmentMaterializeArtifact, DevelopmentMaterializeIntent,
    DevelopmentMaterializePrivatePlan, DevelopmentMaterializeState, DevelopmentMaterializeTransition,
    DevelopmentPkiSuccessorArtifact, DevelopmentPkiSuccessorIntent, DevelopmentPkiSuccessorOperation,
    DevelopmentPkiSuccessorPrivatePlan, DevelopmentPkiSuccessorState, DevelopmentPkiSuccessorTransition,
    DevelopmentReconcileIntent, DevelopmentReconcileRoleTarget, DevelopmentReconcileState,
    DevelopmentReconcileTerminalOutcome, DevelopmentReconcileTransition,
};
pub use exact_workflows::{
    AppendExactItemResultV1, AppendExactRequestV1, AppendExactResultV1, DocumentMutationExactResultV1,
    EXACT_MUTATION_FORMAT_VERSION, ExactExecutionV1, ExactMutationKindV1, ExactMutationOutcomeV1, ExactWorkflowClock,
    ExactWorkflowError, ExactWorkflowOptions, ExactWorkflowRecoveryV1, ExactWorkflowStore, ReconcileIndexExactResultV1,
    create_index_action_kind,
};
pub use generated::{RUST_CLIENT_METHOD_COUNT, request_command};
pub use lodestone_proto::{
    ClusterControlActionV1, ClusterControlCredentialKindV1, ClusterControlResponseDispositionV1,
};
pub use lodestone_wire::*;
pub use operation_waiter::{OperationWaitError, OperationWaitOptions, OperationWaitOutcome};
pub use pager::{
    AliasPager, AuditEventsPager, AuditExportPager, ComponentTemplatePager, DataStreamPager, IndexPager,
    IndexTemplatePager, IngestPipelinePager, LifecyclePolicyPager, MaintenancePager, OperationsPager, PagerError,
    SearchPager, ServiceCredentialsPager, UsagePager,
};
pub use portability::{
    CollectionExportExecutionV1, CollectionRestoreExecutionV1, PORTABILITY_WORKFLOW_FORMAT_VERSION,
    PortabilityWorkflowError,
};
pub use provisioning::{
    PROVISION_RETAINED_APPEND_FORMAT_VERSION, ProvisionCatalogPreparation, ProvisionRetainedAppendIntent,
    ProvisionRetainedAppendState, ProvisionRetainedAppendTransition, ProvisionRolePreparation,
    RoleAppendApplyResolution, RoleAppendAttemptClosure, profile_sha256, provision_definition_sha256,
};
pub use secure_publication::{
    PublishedFileIdentity, SecureCreateNewFilePublisher, SecurePrivateDirectoryTree, SecurePublicationError,
};
pub use state::{AbsoluteExpiry, StateActionId, StateIndex, StateWriteOutcome};
pub use subscription::{Subscription, SubscriptionCheckpoint, SubscriptionError};
pub use tooling::{ToolPackError, describe_tool_operation, load_tool_pack};
pub use transport::{
    CallCancellation, CallOptions, CellTransport, CellTransportMetricsSnapshot, Client, ClientError, CollectionSession,
    MAX_VERIFIED_SESSION_METADATA, ProfileVerification, SubmissionDisposition, TransportErrorKind, raw_json_text,
};
pub use workflow_journal::{
    LocalOperatorWorkflowKind, MAX_WORKFLOW_JOURNAL_INTENT_BYTES, MAX_WORKFLOW_JOURNAL_RECORD_BYTES,
    MAX_WORKFLOW_JOURNAL_RECORDS, WORKFLOW_JOURNAL_FORMAT_VERSION, WorkflowJournal, WorkflowJournalError,
    WorkflowJournalIntent, WorkflowJournalRecordReceipt, WorkflowJournalReplay, WorkflowJournalTransition,
    WorkflowTransactionId,
};

/// Explicit raw generated command surface. Prefer the recovery-aware workflow
/// helpers re-exported at the crate root for mutations, paging, credentials,
/// connection verification, and operation waiting.
pub mod low_level {
    pub use crate::{CallOptions, Client};
    pub use lodestone_wire::*;
}