#[cfg(not(any(feature = "yaml", feature = "json", feature = "fig-lang")))]
compile_error!(
"prov needs at least one metadata-format feature enabled: \
`yaml` (the default), `json`, or `fig-lang`. \
You have disabled the default feature without selecting a replacement."
);
pub mod about;
pub mod attach;
pub mod change;
pub mod config;
pub mod content;
pub mod discovery;
pub mod document;
pub mod edit;
pub mod error;
pub mod exec;
pub mod fixity;
pub mod fs;
pub mod history;
pub mod identity;
pub mod index;
pub mod intake;
pub mod journal;
pub mod link;
pub mod memo;
pub mod meta;
pub mod mutate;
pub mod relation;
pub mod route;
pub mod textdist;
pub mod title;
pub mod tree;
pub mod validate;
pub mod vocabulary;
pub mod workspace;
pub use about::AboutContext;
pub use change::{ChangeSet, FileOp};
pub use config::{
About, ConfigIssue, ConfigIssueKind, FIELD_TYPES, FieldSpec, Fixity, History, IdStorage,
OpenClosed, RelationDef, RelationStyleConfig, WorkspaceConfig, diagnose,
field_type_as_config_str, field_type_from_config_str, metadata_format_from_str,
metadata_format_str, spec_ahead,
};
pub use content::ContentFormat;
pub use content::{code_spans, render_html};
pub use discovery::{Discovered, Discovery, discover};
pub use document::{
Document, EmbedStyle, EmbedType, MetaCarrier, embed_carrier, embed_style_of, is_opaque_payload,
require_whole_file,
};
pub use error::{Error, Result};
pub use exec::block_on;
pub use fig::ExtKind;
pub use fig::Format;
pub use fig_schema::FieldType;
pub use fixity::FixityCache;
pub use fs::{
Capabilities, DirEntry, Durability, FileType, InMemoryFs, Metadata, StdFs, Storage,
SyncGuarantee,
};
pub use history::{
Captured, Conflict, Disposition, Event, FileEntry, Forgotten, Latest, Presence, Pruned,
RestoreOp, RestorePlan, Retention, Scope, StoreLocation, Subject, Summary, Version,
};
pub use identity::{Id, IdentityPolicy, Minter, NoIdentity, Registration, Trigger};
pub use index::{Collision, FileIndex, InMemoryIndex, IndexStore, NoIndex};
pub use intake::{Adoption, PlanOutcome, StructurePlan, SynthNode};
pub use journal::{Recovered, recover};
pub use link::{
Addressing, BodyLink, Link, LinkStyle, Notation, PathStyle, ReferenceStyle, Wikilink, Wrapper,
escapes_root, format_link, path_to_title,
};
pub use memo::ReadScope;
pub use meta::{Mapping, Value};
pub use mutate::Created;
pub use relation::{Cardinality, Edge, Relation, RelationSet};
pub use route::{Layout, RoutePlan};
pub use title::{TitleIndex, TitleMatch};
pub use tree::{Node, NodeKind, TreeOptions};
pub use validate::{
Backlink, CensusEntry, CheckDiff, Finding, Fix, LinkSite, Remedy, RemedyKind, Resolution,
Warrant,
};
pub use vocabulary::{Term, Vocabulary};
pub use workspace::{Target, Workspace, WorkspaceBuilder};