Cargo Features
[dependencies]
mockd = { version = "0.4.28", default-features = false, features = ["all", "address", "animal", "beer", "company", "colour", "contact", "currency", "datetime", "file", "generator", "hacker", "hipster", "image", "internet", "job", "language", "log-level", "misc", "name", "password", "payment", "person", "random-bool", "status-code", "unique", "user-agent", "vehicle", "words"] }
- default = file
-
The
file
feature is set by default whenevermockd
is added without
somewhere in the dependency tree.default-features = false - all = address, animal, beer, colour, company, contact, currency, datetime, file, generator, hacker, hipster, image, internet, job, language, log-level, misc, name, password, payment, person, random-bool, status-code, unique, user-agent, vehicle, words
- address all? person? = company, image, job, misc, name
-
Affects
mockd::address
… - animal all? = misc
-
Affects
mockd::animal
… - beer all? = misc
-
Affects
mockd::beer
… - company address? all? contact? generator? hacker? internet? job? name? person? words? = image, job, misc, name
-
Affects
mockd::company
… - colour all? = misc
-
Affects
mockd::colour
… - contact all? hacker? person? = company, image, internet, job, misc
-
Affects
mockd::contact
… - currency all? = libmath, misc
-
Affects
mockd::currency
… - datetime all? user-agent? = chrono, misc
-
Affects
mockd::datetime
… - file default all? = misc
-
Affects
mockd::file
… - generator all? hacker? = company, hacker, image, job, misc, person
-
Affects
mockd::generator
… - hacker all? generator? = company, contact, generator, image, job, misc
-
Affects
mockd::hacker
… - hipster all? words? = image, misc, words
-
Affects
mockd::hipster
… - image address? all? company? contact? generator? hacker? hipster? internet? job? name? person? words?
-
Affects
mockd::image
… - internet all? contact? = company, image, job, misc, person
-
Affects
mockd::internet
… - job address? all? company? contact? generator? hacker? internet? name? person? words? = company, image, misc
-
Affects
mockd::job
… - language all? = misc
-
Affects
mockd::language
… - log-level all? = misc
-
Affects
mockd::log_level
… - misc address? all? animal? beer? colour? company? contact? currency? datetime? file generator? hacker? hipster? internet? job? language? log-level? name? password? payment? person? random-bool? status-code? unique? user-agent? vehicle? words? = simplerand
- name address? all? company? words? = company, image, job, misc, person
-
Affects
mockd::name
… - password all? = misc
-
Affects
mockd::password
… - payment all? person? = chrono, misc
-
Affects
mockd::payment
… - person all? generator? internet? name? = address, company, contact, image, job, misc, payment
-
Affects
mockd::person
… - random-bool all? = misc
-
Affects
mockd::bool_rand
… - status-code all? = misc
-
Affects
mockd::status_code
… - unique all? = chrono, misc, uuid
-
Affects
mockd::unique
… - user-agent all? = datetime, misc
-
Affects
mockd::user_agent
… - vehicle all? = chrono, misc
-
Affects
mockd::vehicle
… - words all? hipster? = company, hipster, image, job, misc, name
-
Affects
mockd::words
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.