* Allow relative assets in rust > 1.88 and assets outside of the crate in binary crates * undo changes to assets outside of the crate * don't use relative assets in examples
30 lines
855 B
TOML
30 lines
855 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 = { workspace = true, features = ["span-locations"] }
|
|
quote = { workspace = true }
|
|
syn = { workspace = true, features = ["full", "extra-traits"] }
|
|
manganis-core = { workspace = true }
|
|
dunce = { workspace = true }
|
|
macro-string = { workspace = true }
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[dev-dependencies]
|
|
manganis = { workspace = true }
|