File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -752,10 +752,10 @@ exclude = ["libc"]
752
752
clean = false
753
753
754
754
# Which crates other than the top-level binding crate we should generate
755
- # top-level constants / globals and functions .
755
+ # bindings for .
756
756
#
757
757
# default: []
758
- deps_with_top_level_items = [" my_awesome_dep" ]
758
+ extra_bindings = [" my_awesome_dep" ]
759
759
760
760
[parse .expand ]
761
761
# A list of crate names that should be run through `cargo expand` before
Original file line number Diff line number Diff line change @@ -564,7 +564,7 @@ pub struct ParseConfig {
564
564
pub clean : bool ,
565
565
/// List of crate names which generate consts, statics, and fns. By default
566
566
/// no dependent crates generate them.
567
- pub deps_with_top_level_items : Vec < String > ,
567
+ pub extra_bindings : Vec < String > ,
568
568
}
569
569
570
570
impl ParseConfig {
@@ -578,9 +578,7 @@ impl ParseConfig {
578
578
return true ;
579
579
}
580
580
581
- self . deps_with_top_level_items
582
- . iter ( )
583
- . any ( |dep| dep == crate_name)
581
+ self . extra_bindings . iter ( ) . any ( |dep| dep == crate_name)
584
582
}
585
583
}
586
584
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ parse_deps = false
127
127
# include = []
128
128
exclude = []
129
129
clean = false
130
- # deps_with_top_level_items = []
130
+ extra_bindings = []
131
131
132
132
133
133
Original file line number Diff line number Diff line change 1
1
[parse ]
2
2
parse_deps = true
3
- deps_with_top_level_items = [" dep" ]
3
+ extra_bindings = [" dep" ]
You can’t perform that action at this time.
0 commit comments