# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.63" name = "fake" version = "3.0.1" authors = ["cksac "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An easy to use library for generating fake data like name, number, address, lorem, dates, etc." homepage = "https://github.com/cksac/fake-rs" readme = "README.md" keywords = [ "faker", "data", "generator", "random", ] license = "MIT OR Apache-2.0" repository = "https://github.com/cksac/fake-rs" [package.metadata.docs.rs] all-features = true [lib] name = "fake" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" required-features = ["derive"] [[example]] name = "collections" path = "examples/collections.rs" [[example]] name = "derive" path = "examples/derive.rs" required-features = [ "derive", "http", "chrono", "uuid", "random_color", "rust_decimal", ] [[example]] name = "fakers" path = "examples/fakers.rs" [[example]] name = "opt" path = "examples/opt.rs" [[example]] name = "primitives" path = "examples/primitives.rs" [[example]] name = "usage" path = "examples/usage.rs" required-features = ["derive"] [[example]] name = "utils" path = "examples/utils.rs" [[test]] name = "always-true" path = "tests/always-true.rs" [[test]] name = "derive_macros" path = "tests/derive_macros.rs" [[test]] name = "determinism" path = "tests/determinism.rs" [dependencies.bigdecimal-rs] version = "0.4" optional = true default-features = false package = "bigdecimal" [dependencies.bson] version = "2" optional = true [dependencies.chrono] version = "0.4" features = ["std"] optional = true default-features = false [dependencies.chrono-tz] version = "0.10" optional = true [dependencies.deunicode] version = "1.6" [dependencies.dummy] version = "0.9" optional = true [dependencies.geo-types] version = "0.7" optional = true default-features = false [dependencies.glam] version = "0.29" optional = true [dependencies.http] version = "1" optional = true [dependencies.indexmap] version = "2" optional = true [dependencies.num-traits] version = "0.2" optional = true [dependencies.rand] version = "0.8" [dependencies.rand_core] version = "0.6" optional = true [dependencies.random_color] version = "1" optional = true [dependencies.rust_decimal] version = "1" optional = true default-features = false [dependencies.semver] version = "1" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.time] version = "0.3" features = ["formatting"] optional = true [dependencies.ulid] version = "1" optional = true [dependencies.url] version = "2" optional = true [dependencies.url-escape] version = "0.1" optional = true [dependencies.uuid] version = "1" features = [ "v1", "v3", "v4", "v5", ] optional = true [dependencies.zerocopy] version = "0.8" optional = true [dev-dependencies.chrono] version = "0.4" features = ["clock"] default-features = false [dev-dependencies.proptest] version = "1.0.0" features = ["std"] default-features = false [dev-dependencies.rand_chacha] version = "0.3" [features] always-true-rng = ["rand_core"] bigdecimal = [ "bigdecimal-rs", "rust_decimal", ] bson_oid = ["bson"] derive = ["dummy"] geo = [ "geo-types", "num-traits", ] http = [ "dep:http", "url-escape", ] maybe-non-empty-collections = ["always-true-rng"]