freya_icons/lib.rs
1#[cfg(feature = "lucide")]
2pub mod lucide {
3 include!(concat!(env!("OUT_DIR"), "/lucide.rs"));
4}
5
6#[macro_export]
7macro_rules! generate_svg {
8 ($name:ident, $path:expr) => {
9 #[allow(unused)]
10 pub fn $name() -> bytes::Bytes {
11 bytes::Bytes::from_static(include_bytes!($path))
12 }
13 };
14}