#[cfg(not(any(
feature = "yaml",
feature = "json",
feature = "toml",
feature = "fig-lang"
)))]
compile_error!(
"prov needs at least one metadata-format feature enabled: \
`yaml` (the default), `json`, `toml`, or `fig-lang`. \
You have disabled the default feature without selecting a replacement."
);
pub mod about;
pub mod attach;
pub use prov_config as config;
pub mod discovery;
pub use prov_fixity as fixity;
#[cfg(test)]
mod fs_faults;
pub mod history;
pub mod identity;
pub mod intake;
pub mod manifest;
pub mod mutate;
pub mod remedy;
pub mod route;
pub mod validate;
pub use prov_config::vocabulary;
pub mod workspace;
pub use prov_graph;
pub use prov_graph::{
Addressing, Backlink, BodyLink, Cardinality, CensusEntry, Collision, ContentFormat, DirEntry,
Document, Edge, EmbedStyle, EmbedType, Error, ExtKind, FileType, Format, Graph, Id, IdIndex,
IdStorage, Link, LinkSite, LinkStyle, Manifest, ManifestEntry, Mapping, MetaCarrier, Metadata,
NoIndex, NoPeers, Node, NodeKind, Notation, PathStyle, PeerLocation, PeerLookup, PeerResolver,
ReadScope, ReadSettings, ReadStorage, ReferenceStyle, Relation, RelationSet, Resolution,
Result, StdFs, StructuralFact, Target, TitleIndex, TitleMatch, TreeOptions, Unconfirmed, Value,
Walk, Wikilink, Wrapper, block_on, code_spans, embed_carrier, embed_style_of, escapes_root,
format_link, is_opaque_payload, path_to_title, reachable_set, render_html, require_whole_file,
};
pub use prov_graph::{
content, document, error, exec, graph, link, memo, meta, peer, relation, title,
};
pub use prov_store::edit;
pub use prov_store::{
Capabilities, Durability, FileIndex, InMemoryFs, InMemoryIndex, IndexStore, Rebase, Storage,
SyncGuarantee,
};
pub mod fs {
pub use prov_graph::fs::{DirEntry, FileType, Metadata, ReadStorage, StdFs};
pub use prov_store::fs::{
Capabilities, Durability, InMemoryFs, Storage, SyncGuarantee, memory,
};
}
pub mod index {
pub use prov_graph::index::{Collision, IdIndex, NoIndex};
pub use prov_store::index::{FileIndex, InMemoryIndex, IndexStore, Rebase};
}
pub use about::AboutContext;
pub mod change {
pub use prov_transaction::change::{ChangeSet, FileOp};
}
pub mod journal {
pub use prov_transaction::journal::{JOURNAL_NAME, Recovered, recover};
#[allow(unused_imports)]
pub(crate) use prov_transaction::journal::{decode, encode, is_journal_path};
}
pub use config::{
About, ConfigIssue, ConfigIssueKind, FIELD_TYPES, FieldSpec, Fixity, History, OpenClosed,
RelationDef, RelationStyleConfig, WorkspaceConfig, diagnose, field_type_as_config_str,
field_type_from_config_str, is_valid_workspace_id, metadata_format_from_str,
metadata_format_str, spec_ahead,
};
pub use discovery::{Discovered, Discovery, discover};
pub mod views {
pub use prov_views::{
CONDITION_KEYS, Condition, Error, Grain, Group, Grouping, Row, RowSet, Selection,
VIEW_KEYS, VIEWS_KEY, ViewIssue, ViewIssueKind, ViewSpec, diagnose_view, diagnose_views,
group, select, views_from,
};
}
pub mod exports {
pub use prov_exports::{
EXPORT_KEYS, EXPORTS_KEY, Error, ExportDoc, ExportIssue, ExportIssueKind, ExportPlan,
ExportSpec, GATE_KEYS, Gate, Withheld, compose, diagnose_export, diagnose_exports,
exports_from, plan,
};
}
pub use fig_schema::FieldType;
pub use fixity::FixityCache;
pub use history::{
Captured, Conflict, Disposition, Event, FileEntry, Forgotten, HistoryIssue, HistoryStore,
Latest, Presence, Pruned, RestoreOp, RestorePlan, Retention, Scope, StoreLocation, Subject,
Summary, Version,
};
pub use identity::{
IdentityPolicy, Minter, NoIdentity, Registration, Trigger, WORKSPACE_NAME_LEN,
mint_workspace_id,
};
pub use intake::{Adoption, PlanOutcome, StructurePlan, SynthNode};
pub use manifest::{ManifestStatus, ManifestUpdate};
pub use mutate::Created;
pub use prov_exports::ExportSpec;
pub use prov_transaction::{ChangeSet, FileOp};
pub use prov_transaction::{Recovered, recover};
pub use prov_views::ViewSpec;
pub use remedy::{Fix, Remedy, RemedyKind, Warrant};
pub use route::{Layout, RoutePlan};
pub use validate::{CheckDiff, Finding};
pub use vocabulary::{Term, Vocabulary};
pub use workspace::{Settings, Workspace, WorkspaceBuilder};