File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,17 @@ proc-macro = true
15
15
[features ]
16
16
# ! The crate provides a set of optional features that can be enabled in your `cargo.toml` file.
17
17
# !
18
- # # By default, only generate stdlib types.
19
- # The features for the optional dependencies "macaddr" and "ipnetwork" add extra functionality.
18
+ # # By default, only generate stdlib types
20
19
default = []
20
+ # # enables generation of [`ipnetwork`] types
21
+ ipnetwork = [" dep:ipnetwork" ]
22
+ # # enables generation of [`macaddr`] types
23
+ macaddr = [" dep:macaddr" ]
21
24
22
25
[dependencies ]
23
26
cfg-if = " 1"
24
27
document-features = { version = " 0.2" , optional = true }
25
- # Enable the "ipnetwork" feature to get const addr support for `ipnetwork` types
26
28
ipnetwork = { version = " 0.21.1" , optional = true , default-features = false }
27
- # Enable the "macaddr" feature to get const addr support for `macaddr` types
28
29
macaddr = { version = " 1.0" , optional = true }
29
30
proc-macro-error = " 1.0"
30
31
proc-macro2 = " 1"
You can’t perform that action at this time.
0 commit comments