agent_first_data/document/
mod.rs1pub mod coerce;
23pub mod error;
24pub mod file;
25pub mod keyed;
26pub mod path;
27pub mod traverse;
28pub mod typed;
29pub mod value;
30
31pub mod format;
32
33#[cfg(feature = "schema")]
34pub mod schema;
35
36pub use crate::atomic_file::{AtomicError, AtomicStep, write_atomic};
37pub use coerce::{
38 BareOverwrite, ScalarKind, ValueType, coerce_toward, coerce_values_toward,
39 guard_bare_overwrite, scalar_kind, value_from_type, value_matches_type,
40};
41pub use error::{DocumentError, DocumentResult};
42pub use file::{CreateMode, CreateOptions, Document, DocumentFile, SymlinkPolicy};
43pub use keyed::{Addressing, ArrayRule, KeyedList, MatchKind, add_keyed, remove_keyed};
44pub use path::{PathStep, PatternSegment, join_path, parse_path, parse_path_pattern};
45pub use traverse::{
46 Located, MissingContainer, expand_path_pattern, get_path, get_path_ref, locate,
47 locate_with_route, resolve_path, set_path, unset_path,
48};
49pub(crate) use traverse::{append_position_refused, keyed_prefix_matches};
50pub use typed::{from_value, to_value};
51pub use value::Value;
52
53pub use format::Format;
54
55#[cfg(feature = "schema")]
56pub use schema::{
57 CliSchema, FieldDef, render_annotated_toml, render_annotated_yaml, render_doc_markdown,
58};