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::{PatternSegment, join_path, parse_path, parse_path_pattern};
45pub(crate) use traverse::{append_position_refused, keyed_prefix_matches};
46pub use traverse::{get_path, get_path_ref, resolve_path, set_path, unset_path};
47pub use typed::{from_value, to_value};
48pub use value::Value;
49
50pub use format::Format;
51
52#[cfg(feature = "schema")]
53pub use schema::{
54 CliSchema, FieldDef, render_annotated_toml, render_annotated_yaml, render_doc_markdown,
55};