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>
34 lines
895 B
TOML
34 lines
895 B
TOML
[package]
|
|
name = "leon"
|
|
description = "Dead-simple string templating"
|
|
repository = "https://github.com/cargo-bins/cargo-binstall"
|
|
documentation = "https://docs.rs/leon"
|
|
version = "1.0.0"
|
|
rust-version = "1.61.0"
|
|
authors = ["Félix Saparelli <felix@passcod.name>"]
|
|
edition = "2021"
|
|
license = "Apache-2.0 OR MIT"
|
|
exclude = ["fuzz"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4.2.2", features = ["derive"], optional = true }
|
|
miette = { version = "5.7.0", default-features = false, optional = true }
|
|
thiserror = "1.0.38"
|
|
|
|
[features]
|
|
default = ["miette"]
|
|
cli = ["dep:clap", "miette?/fancy-no-backtrace"]
|
|
miette = ["dep:miette"]
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.4.0", default-features = false, features = ["cargo_bench_support"] }
|
|
serde = { version = "1.0.160", features = ["derive"] }
|
|
tinytemplate = "1.2.1"
|
|
|
|
[[bench]]
|
|
name = "values"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "others"
|
|
harness = false
|