1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//! # cooklang-find
//!
//! A library for finding, searching, and organizing Cooklang recipe files.
//!
//! This library provides utilities for working with .cook and .menu files,
//! including:
//! - Loading recipes from files or content
//! - Searching recipes by name and content
//! - Building hierarchical directory trees of recipes
//! - Extracting and working with recipe metadata
//!
//! ## Quick Start
//!
//! ```no_run
//! use cooklang_find::{get_recipe, search, build_tree};
//! use camino::Utf8Path;
//!
//! // Load a specific recipe
//! let recipe = get_recipe(vec!["./recipes"], "pancakes")?;
//!
//! // Search for recipes
//! let results = search(Utf8Path::new("./recipes"), "chocolate")?;
//!
//! // Build a directory tree
//! let tree = build_tree("./recipes")?;
//! # Ok::<(), Box<dyn std::error::Error>>(())
//! ```
//!
//! ## UniFFI Support
//!
//! This library includes UniFFI bindings for use on iOS and Android, behind the
//! `ffi` feature. It is enabled by default, so the mobile bindings build
//! unchanged; the `ffi` module provides simplified, FFI-safe types and functions.
//!
//! Rust-only consumers should depend on this crate with `default-features = false`
//! to avoid compiling uniffi and its bindgen chain.
// UniFFI scaffolding - must be at crate root
setup_scaffolding!;
/// Recipe fetching utilities for loading recipes by name.
/// UniFFI bindings for cross-platform support (iOS, Android).
/// Menu discovery by date (sections containing a date string).
/// Core data models for recipes and metadata.
/// Recipe searching functionality.
/// Recipe tree building for directory hierarchies.
pub use ;
pub use list_menus_for_date;
pub use *;
pub use search;
pub use ;