pub struct Crate {
pub name: &'static str,
#[allow(unused)] pub version: Option<&'static str>,
pub features: &'static [&'static str],
}
impl Crate {
const fn new(name: &'static str, version: Option<&'static str>, features: &'static [&'static str]) -> Self {
Crate {
name,
version,
features,
}
}
}
pub const INIT_CRATES: [Crate; 2] = [
Crate::new("leptos", None, &["csr"]),
Crate::new("tw_merge", None, &["variant"]),
];