mirror of
https://gitee.com/openharmony/third_party_rust_quote
synced 2024-11-23 07:10:01 +00:00
39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
[package]
|
|
name = "quote"
|
|
version = "1.0.10" # don't forget to update html_root_url, version in readme for breaking changes
|
|
authors = ["David Tolnay <dtolnay@gmail.com>"]
|
|
license = "MIT OR Apache-2.0"
|
|
description = "Quasi-quoting macro quote!(...)"
|
|
repository = "https://github.com/dtolnay/quote"
|
|
documentation = "https://docs.rs/quote/"
|
|
keywords = ["syn"]
|
|
categories = ["development-tools::procedural-macro-helpers"]
|
|
readme = "README.md"
|
|
edition = "2018"
|
|
autobenches = false
|
|
rust-version = "1.31"
|
|
|
|
[dependencies]
|
|
proc-macro2 = { version = "1.0.20", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
rustversion = "1.0"
|
|
trybuild = { version = "1.0.52", features = ["diff"] }
|
|
|
|
[features]
|
|
default = ["proc-macro"]
|
|
# Disabling the proc-macro feature removes the dynamic library dependency on
|
|
# libproc_macro in the rustc compiler.
|
|
proc-macro = ["proc-macro2/proc-macro"]
|
|
|
|
[workspace]
|
|
members = ["benches"]
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
# FIXME: Remove once proc-macro2 has published version 1.0.36. Publish is stuck
|
|
# on GitHub Actions being broken today (2021-12-26).
|
|
[patch.crates-io]
|
|
proc-macro2 = { git = "https://github.com/dtolnay/proc-macro2" }
|