reposix-core 0.12.0

Shared types for reposix: BackendConnector trait, Record/Project/RemoteSpec, Tainted<T>.
Documentation
//! Shared types for the reposix workspace.
//!
//! This crate is the seam between the simulator (in-process REST API), the bare-repo cache
//! materializer, the git remote helper, and the CLI orchestrator. Every other crate depends on
//! it; it depends on no other internal crate. Keep it small and stable.

#![forbid(unsafe_code)]
#![warn(missing_docs, clippy::pedantic)]
#![allow(clippy::module_name_repetitions)]

pub mod audit;
pub mod backend;
mod error;
pub mod http;
pub mod path;
mod project;
mod record;
mod remote;
mod taint;

pub use backend::{
    BackendCapabilities, BackendConnector, BackendFeature, CommentSupport, DeleteReason,
    VersioningModel,
};
pub use error::{Error, Result};
pub use path::{dedupe_siblings, slug_or_fallback, slugify_title, SLUG_MAX_BYTES};
pub use project::{Project, ProjectSlug};
pub use record::{frontmatter, Record, RecordId, RecordStatus};
pub use remote::{parse_remote_url, split_reposix_url, strip_reposix_prefix, RemoteSpec};
pub use taint::{sanitize, ServerMetadata, Tainted, Untainted};