* Create a crate for constant serialization of config structs for manganis * use SerializeConst for the image asset builder * switch to a declarative macro for assets * add serializable options for each asset type * implement the new manganis macro * optimize assets in the CLI * Fix assets with dioxus formattable * reduce fuzzing test limits * use the new syntax in examples * fix avif support * Fix manganis doc tests * cache asset optimization * Split out asset and bundled asset * make hash pointer width independent * Fix manganis macro docs * add constvec::is_empty method to fix clippy lint * remove nasm feature * simplify test_rsplit_once test so typos passes * revert example change from clippy fix * always accept unix paths * fix windows path seperator * fix folder asset hash * Optimize assets in a blocking task * Fix asset options docs * Document Asset and BundledAsset * simplify the linker macro a bit * add more docs to AssetParser expansion * add image format helpers * Split by both unix and windows path separators and take the smallest one
28 lines
736 B
TOML
28 lines
736 B
TOML
[package]
|
|
name = "manganis-macro"
|
|
version.workspace = true
|
|
edition = "2021"
|
|
authors = ["Evan Almloff"]
|
|
description = "Ergonomic, automatic, cross crate asset collection and optimization"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/DioxusLabs/manganis/"
|
|
homepage = "https://dioxuslabs.com"
|
|
keywords = ["assets"]
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
# be careful with dependencies you add here - these need to get compiled for the proc macro and therefore
|
|
# prevent the main code from compiling!
|
|
[dependencies]
|
|
proc-macro2 = { version = "1.0" }
|
|
quote = "1.0"
|
|
syn = { version = "2.0", features = ["full", "extra-traits"] }
|
|
manganis-core = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[dev-dependencies]
|
|
manganis.workspace = true
|