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 coerce::{
37 BareOverwrite, ScalarKind, ValueType, coerce_toward, coerce_values_toward,
38 guard_bare_overwrite, scalar_kind, value_from_type, value_matches_type,
39};
40pub use error::{DocumentError, DocumentResult};
41#[cfg(feature = "cli")]
42pub use file::read_capped_file;
43pub use file::{CreateMode, CreateOptions, Document, DocumentFile, SymlinkPolicy};
44pub use keyed::{
45 Addressing, ArrayRule, KeyedList, MatchKind, add_keyed, remove_keyed, validate_array_slug,
46};
47pub use path::{PathStep, PatternSegment, join_path, parse_path, parse_path_pattern};
48pub use traverse::{
49 Located, MissingContainer, expand_path_pattern, get_path, get_path_ref, locate,
50 locate_with_route, resolve_path, set_path, unset_path,
51};
52pub(crate) use traverse::{append_position_refused, keyed_prefix_matches};
53pub use typed::{from_value, to_value};
54pub use value::Value;
55pub(crate) use value::non_finite_spelling;
56
57pub use format::Format;
58
59#[cfg(feature = "schema")]
60pub use schema::{
61 CliSchema, FieldDef, render_annotated_toml, render_annotated_yaml, render_doc_markdown,
62};