lepticons_data/lib.rs
1//! Lucide icon data, search, and categories.
2//!
3//! Framework-agnostic core for the Lepticons toolkit. Provides the
4//! [`LucideGlyph`] enum, the [`Glyph`] trait, lookup helpers, a cached
5//! search index, and a category aggregation cache.
6//!
7//! Re-exported through the `lepticons` crate; depend on this crate
8//! directly only when you need the data layer without a renderer.
9
10/// Version of the `lepticons-data` crate, taken from `Cargo.toml` at build time.
11pub const VERSION: &str = env!("CARGO_PKG_VERSION");
12
13mod lucide_icon_data;
14mod lucide_icon_impl;
15
16pub use lucide_icon_data::LucideGlyph;
17pub use lucide_icon_impl::Glyph;
18
19/// Re-exports of the [`strum`](https://docs.rs/strum) traits implemented
20/// by [`LucideGlyph`]. Importing from here lets downstream callers iterate
21/// or look up icons without taking a direct `strum` dependency.
22pub mod strum {
23 pub use ::strum::{EnumProperty, IntoEnumIterator};
24}