crosvm/sys_util/poll_token_derive/Cargo.toml
David Tolnay d4d9c26f04 poll_token: Use syn to simplify poll token derive
This CL removes 300 lines of parsing code and 200 lines of tests of
parsing code by using the parsers provided by Syn, which we already use
in implementing our other custom derives.

TEST=cargo test poll_token_derive
TEST=cargo check crosvm

Change-Id: Ie2743b1bbb1b374326f9845fc37fc578b178c53d
Reviewed-on: https://chromium-review.googlesource.com/1365112
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: David Tolnay <dtolnay@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
2018-12-09 00:48:19 -08:00

14 lines
211 B
TOML

[package]
name = "poll_token_derive"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
[lib]
proc-macro = true
path = "poll_token_derive.rs"
[dependencies]
syn = "0.15"
quote = "0.6"
proc-macro2 = "0.4"