[package]
name = "pictogram"
version = "0.2.1"
edition = "2024"
authors = ["Tom Dymel <tom@dymel.dev>"]
readme = "../README.md"
repository = "https://github.com/tdymel/pictogram"
documentation = "https://docs.rs/pictogram"
license = "MIT OR Apache-2.0"
description = "A compile time svg icon resolver."
keywords = ["icons", "svg", "dioxus", "leptos"]
categories = ["gui", "web-programming", "accessibility", "wasm"]
exclude = ["tests"]

[dependencies]
pictogram-macro = { path = "../pictogram-macro", version = "0.2.1" }
pictogram-icons-material = { path = "../pictogram-icons-material", version = "0.2.1", optional = true, default-features = false }
pictogram-icons-bootstrap = { path = "../pictogram-icons-bootstrap", version = "0.2.1", optional = true, default-features = false }

[features]
default = ["material", "bootstrap"]
material = ["dep:pictogram-icons-material", "pictogram-macro/material"]
bootstrap = ["dep:pictogram-icons-bootstrap", "pictogram-macro/bootstrap"]
