mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00

`leon_macros::template!` can parse template at compile-time. It accepts a utf-8 string literal and uses `leon` internally to parse it, then generate code that evaluates to `Template<'static>`. - Exclude fuzz from crate leon when publishing - Impl fn-like proc-macro `leon_macros::template!` - Add dep `leon-macros` to binstalk - Use `leon_macros::template!` in `binstalk::fetchers::gh_crate_meta::hosting` - Add doc for `leon-macros` in `leon` - Improve `std::fmt::Display` impl for `leon::ParseError` - Fixed broken infra link in leon Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
19 lines
599 B
TOML
19 lines
599 B
TOML
[package]
|
|
name = "leon-macros"
|
|
version = "0.0.0"
|
|
edition = "2021"
|
|
description = "Proc macros for crate leon"
|
|
repository = "https://github.com/cargo-bins/cargo-binstall"
|
|
documentation = "https://docs.rs/leon-macros"
|
|
rust-version = "1.61.0"
|
|
authors = ["Félix Saparelli <felix@passcod.name>", "Jiahao XU Jiahao_XU@outlook"]
|
|
license = "Apache-2.0 OR MIT"
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
leon = { version = "1.0.0", path = "../leon", default-features = false }
|
|
proc-macro2 = "1.0.56"
|
|
syn = { version = "2.0.15", default-features = false, features = ["proc-macro", "parsing"] }
|
|
quote = "1.0.26"
|