File tree 4 files changed +23
-2
lines changed
collector/compile-benchmarks
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.
25
25
part of the Rust ecosystem.
26
26
- ** cargo-0.87.1** : The Rust package manager. A large program, and an important
27
27
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.
30
30
- ** cranelift-codegen-0.82.1** : The largest crate from a code generator. Used by
31
31
wasmtime. Stresses obligation processing.
32
32
- ** 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/**"
42
42
SPDX-FileCopyrightText = " clap contributors"
43
43
SPDX-License-Identifier = " MIT OR Apache-2.0"
44
44
45
+ [[annotations ]]
46
+ path = " clap_derive-4.5.32/**"
47
+ SPDX-FileCopyrightText = " clap contributors"
48
+ SPDX-License-Identifier = " MIT OR Apache-2.0"
49
+
45
50
[[annotations ]]
46
51
path = " coercions/**"
47
52
SPDX-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