Cargo Features
[dependencies]
petname = { version = "2.0.0-beta.4", default-features = false, features = ["default-rng", "default-words", "clap"] }
- default = clap, default-rng, default-words
-
clap
is NOT required for the library but is required for the command-line binary. Omitting it from thedefault
list means that it must be specified every time you want to build the binary, so it's here as a convenience. - default-rng default
-
Allows generating petnames with thread rng.
Enables std and std_rng of rand
Affects
petname::Generator.generate_one
,petname::petname
…Required by the petname binary
- default-words default
-
Allows the default word lists to be used.
Affects
petname::petname
…Required by the petname binary