File tree Expand file tree Collapse file tree 4 files changed +23
-2
lines changed
collector/compile-benchmarks Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ They mostly consist of real-world crates.
2525 part of the Rust ecosystem.
2626- ** cargo-0.87.1** : The Rust package manager. A large program, and an important
2727 part of the Rust ecosystem.
28- - ** clap-3.1.6** : A command line argument parser library. A crate used by many
29- Rust programs.
28+ - ** clap-3.1.6** : A command line argument parser library. A crate used by many Rust programs.
29+ - ** clap_derive-4.5.32 ** : The proc macro sub-crate of a command line argument parser library that is used by many Rust programs.
3030- ** cranelift-codegen-0.82.1** : The largest crate from a code generator. Used by
3131 wasmtime. Stresses obligation processing.
3232- ** diesel-1.4.8** : A type safe SQL query builder. Utilizes the type system to
Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ path = "clap-3.1.6/**"
4242SPDX-FileCopyrightText = " clap contributors"
4343SPDX-License-Identifier = " MIT OR Apache-2.0"
4444
45+ [[annotations ]]
46+ path = " clap_derive-4.5.32/**"
47+ SPDX-FileCopyrightText = " clap contributors"
48+ SPDX-License-Identifier = " MIT OR Apache-2.0"
49+
4550[[annotations ]]
4651path = " coercions/**"
4752SPDX-FileCopyrightText = " The Rust Project Developers (see https://thanks.rust-lang.org)"
Original file line number Diff line number Diff line change 1+ diff --git a/src/lib.rs b/src/lib.rs
2+ index 760c5b52..1281bb19 100644
3+ --- a/src/lib.rs
4+ +++ b/src/lib.rs
5+ @@ -36,6 +36,7 @@ mod utils;
6+ /// Generates the `ValueEnum` impl.
7+ #[proc_macro_derive(ValueEnum, attributes(clap, value))]
8+ pub fn value_enum(input: TokenStream) -> TokenStream {
9+ + println!("testing!");
10+ let input: DeriveInput = parse_macro_input!(input);
11+ derives::derive_value_enum(&input)
12+ .unwrap_or_else(|err| {
Original file line number Diff line number Diff line change 1+ {
2+ "category" : " primary" ,
3+ "artifact" : " library"
4+ }
You can’t perform that action at this time.
0 commit comments