File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,14 @@ the size of the crate and reduces compile time. Some examples are:
11
11
is helpful to reduce compile times since it affects so many projects. It has
12
12
a [ clearly documented list] [ syn-features ] of features which can be used to
13
13
minimize the amount of code it contains.
14
- * [ ` winapi ` ] has [ a large number] [ winapi-features ] of features that
15
- limit which Windows API bindings it supports.
16
14
* [ ` regex ` ] has a [ several features] [ regex-features ] that are [ well
17
15
documented] [ regex-docs ] . Cutting out Unicode support can reduce the
18
16
resulting file size as it can remove some large tables.
17
+ * [ ` winapi ` ] has [ a large number] [ winapi-features ] of features that
18
+ limit which Windows API bindings it supports.
19
+ * [ ` web-sys ` ] is another example similar to ` winapi ` that provides a [ huge
20
+ surface area] [ web-sys-features ] of API bindings that are limited by using
21
+ features.
19
22
20
23
[ `winapi` ] : https://crates.io/crates/winapi
21
24
[ winapi-features ] : https://github.com/retep998/winapi-rs/blob/0.3.9/Cargo.toml#L25-L431
@@ -24,6 +27,8 @@ the size of the crate and reduces compile time. Some examples are:
24
27
[ syn-features ] : https://docs.rs/syn/1.0.54/syn/#optional-features
25
28
[ regex-features ] : https://github.com/rust-lang/regex/blob/1.4.2/Cargo.toml#L33-L101
26
29
[ regex-docs ] : https://docs.rs/regex/1.4.2/regex/#crate-features
30
+ [ `web-sys` ] : https://crates.io/crates/web-sys
31
+ [ web-sys-features ] : https://github.com/rustwasm/wasm-bindgen/blob/0.2.69/crates/web-sys/Cargo.toml#L32-L1395
27
32
28
33
### Extending behavior
29
34
You can’t perform that action at this time.
0 commit comments