#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#[cfg(not(any(feature = "alloc", feature = "std")))]
compile_error! {
"shepherd-registry requires at least one of the `alloc` or `std` features."
}
#[cfg(feature = "alloc")]
extern crate alloc;
pub use shepherd_core as core;
pub mod error;
#[cfg(feature = "layout")]
pub mod layout;
#[cfg(feature = "std")]
pub mod migrate;
#[cfg(feature = "std")]
mod path;
mod registry;
#[doc(inline)]
pub use self::error::{Error, Result};
#[cfg(feature = "std")]
#[doc(inline)]
pub use self::migrate::{
AppliedMigration, FindingClass, HISTORICAL_V22_SESSION_BUS_CHECKSUM, LEGACY_BASELINE_CHECKSUM,
ObjectKind, REPAIR_COMMAND, ROLLBACK_COMMAND, RegistryInspection, SUPPORTED_SCHEMA_VERSION,
StructuralFinding,
};
#[cfg(feature = "std")]
#[doc(inline)]
pub use self::registry::{
DispatchSingletonClaim, DispatchSingletonClaimOutcome, DispatchSingletonInput,
DispatchSingletonPublication, DispatchSingletonPublicationInput, OpenMode,
ProjectIdentityDocument, ProjectIdentityParseError, Registry, RegistryFileIdentity,
RegistryRepairReceipt, RegistryRepairReport, RegistryRepairRequest, RegistryRollbackRequest,
RegistrySidecar, RegistryTransaction, SingletonPublicationState,
dispatch_singleton_fingerprint,
};
#[doc(hidden)]
pub mod prelude {
#[allow(unused_imports)]
pub use crate::error::*;
#[cfg(feature = "std")]
#[allow(unused_imports)]
pub use crate::registry::*;
}