File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -93,15 +93,26 @@ pub struct Config {
93
93
94
94
#[ derive( Clone , Debug ) ]
95
95
pub struct Library {
96
+ /// Libraries specified by -l
96
97
pub libs : Vec < String > ,
98
+ /// Library search paths specified by -L
97
99
pub link_paths : Vec < PathBuf > ,
100
+ /// Library file paths specified without -l
98
101
pub link_files : Vec < PathBuf > ,
102
+ /// Darwin frameworks specified by -framework
99
103
pub frameworks : Vec < String > ,
104
+ /// Darwin framework search paths specified by -F
100
105
pub framework_paths : Vec < PathBuf > ,
106
+ /// C/C++ header include paths specified by -I
101
107
pub include_paths : Vec < PathBuf > ,
108
+ /// Linker options specified by -Wl
102
109
pub ld_args : Vec < Vec < String > > ,
110
+ /// C/C++ definitions specified by -D
103
111
pub defines : HashMap < String , Option < String > > ,
112
+ /// Version specified by .pc file's Version field
104
113
pub version : String ,
114
+ /// Ensure that this struct can only be created via its private `[Library::new]` constructor.
115
+ /// Users of this crate can only access the struct via `[Config::probe]`.
105
116
_priv : ( ) ,
106
117
}
107
118
You can’t perform that action at this time.
0 commit comments