Cargo Features
Fake has no features set by default.
[dependencies]
fake = { version = "3.0.1", features = ["derive", "always-true-rng", "maybe-non-empty-collections", "bigdecimal", "geo", "http", "bson_oid", "random_color", "chrono", "chrono-tz", "semver", "serde_json", "ulid", "uuid", "time", "zerocopy", "glam", "url", "indexmap"] }
- derive = dummy
-
Provide derive(Dummy) macros.
- always-true-rng maybe-non-empty-collections? = rand_core
-
Support "always true" RNGs; see https://github.com/cksac/fake-rs/issues/128 and always-true tests
- maybe-non-empty-collections = always-true-rng
-
allow to use AlwaysTrueRng to generate non-empty collections
- bigdecimal = bigdecimal-rs, rust_decimal
- geo = geo-types, num-traits
- http = url-escape
-
Enables http
Affects
faker::http
,impls::http
… - bson_oid = bson
-
Affects
impls::bson_oid
…
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.
- dummy derive?
- random_color implicit feature
-
Enables random_color
random_color:
Rust crate for generating random attractive colors
Affects
faker::color
,impls::color
… - chrono implicit feature
-
Enables chrono
chrono:
Date and time library for Rust
Affects
faker::chrono
,impls::chrono
… - chrono-tz implicit feature
-
Enables chrono-tz
chrono-tz:
TimeZone implementations for chrono from the IANA database
Affects
impls::chrono_tz
… - geo-types geo?
-
Affects
impls::geo
… - semver implicit feature
-
Enables semver
semver:
Parser and evaluator for Cargo's flavor of Semantic Versioning
Affects
impls::semver
… - serde_json implicit feature
-
Enables serde_json
serde_json:
A JSON serialization file format
Affects
impls::serde_json
… - ulid implicit feature
-
Enables ulid
ulid:
a Universally Unique Lexicographically Sortable Identifier implementation
Affects
impls::ulid
… - uuid implicit feature
-
Enables uuid
uuid:
A library to generate and parse UUIDs
Affects
impls::uuid
… - time implicit feature
-
Affects
faker::time
,impls::time
… - num-traits geo?
- rust_decimal bigdecimal?
-
Affects
impls::decimal
… - bigdecimal-rs bigdecimal?
-
Enables bigdecimal
Affects
impls::bigdecimal
… - zerocopy implicit feature
-
Enables zerocopy
zerocopy:
Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to.
Affects
impls::zerocopy_byteorder
… - rand_core always-true-rng?
- glam implicit feature
-
Enables glam
glam:
A simple and fast 3D math library for games and graphics
Affects
impls::glam
… - url-escape http?
- bson bson_oid?
- url implicit feature
-
Enables url
url:
URL library for Rust, based on the WHATWG URL Standard
Affects
impls::url
… - indexmap implicit feature
-
Enables indexmap
indexmap:
A hash table with consistent order and fast iteration
Affects
impls::indexmap
…