Public declaration syntax from forge-rs/harness-spec/src/validate.rs Original source SHA-256: 466a41039055a593d337c69a74295556b6317d7ef9e0ae2c85a777446363aa02 Function bodies and constant values are omitted. This is not the complete implementation. Source line 21 pub const DEFAULT_MAX_DERIVATION_DEPTH: u32; Source line 25 pub const NOUS_INGEST_CAP_BYTES: u64; Source line 28 pub const BUILTIN_LOOP_STRATEGIES: [&str; 3]; Source line 41 pub trait ToolRegistry: Send + Sync { /// True when `/` resolves against the host registry. fn contains(&self, tool: &str) -> bool; } Source line 49 #[derive(Clone)] pub struct ValidationContext { } Source line 71 pub fn new() -> Self; Source line 76 pub fn with_max_derivation_depth(mut self, max: u32) -> Self; Source line 82 pub fn with_additional_loop_strategies(mut self, strategies: I) -> Self where I: IntoIterator, S: Into,; Source line 93 pub fn with_tool_registry(mut self, registry: Arc) -> Self; Source line 99 pub fn max_derivation_depth(&self) -> u32; Source line 123 #[derive(Debug, Clone)] pub struct ValidatedManifest { } Source line 132 pub fn from_toml(source: &str) -> Result; Source line 138 pub fn from_toml_with(source: &str, context: &ValidationContext) -> Result; Source line 143 pub fn manifest(&self) -> &Manifest; Source line 148 pub fn into_manifest(self) -> Manifest; Source line 154 pub fn canonical_json(&self) -> &str; Source line 160 pub fn manifest_hash(&self) -> ManifestHash;