diff --git a/src/value.rs b/src/value.rs index d8dd394..e381a9a 100644 --- a/src/value.rs +++ b/src/value.rs @@ -21,8 +21,9 @@ pub struct ObjectSource { /// Map of property name → optional deprecation message for properties /// annotated with `@Deprecated`. Consulted on field access so the /// warning fires when a deprecated property is *used*, not when the - /// containing module is loaded. - pub deprecated: IndexMap>, + /// containing module is loaded. Crate-private: only the evaluator + /// reads/writes this; not part of the public API. + pub(crate) deprecated: IndexMap>, } /// A pkl runtime value.