// Copyright 2021 TiKV Project Authors. Licensed under Apache-2.0.
// Modifications Copyright 2026 PingCAP, Inc.
//
// The cloud crate defines the interaction between
// the cloud provider crates and other TiKV crates

#![feature(min_specialization)]

pub mod error;
pub use error::{Error, ErrorTrait, Result};

pub mod kms;
pub use kms::{Config, DataKeyPair, EncryptedKey, KeyId, KmsProvider, PlainKey};

pub mod blob;
pub use blob::{BucketConf, StringNonEmpty, none_to_empty};

pub mod metrics;
