[dependencies.anyhow]
version = "1.0"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.handlebars]
version = "4.5"
[dependencies.lazy_static]
version = "1.4"
[dependencies.librarys]
features = ["core", "datetime", "validation", "data", "random", "network"]
version = "0.1.1"
[dependencies.log]
version = "0.4"
[dependencies.num_cpus]
version = "1.16"
[dependencies.once_cell]
version = "1.19"
[dependencies.rand]
version = "0.8"
[dependencies.rand_regex]
version = "0.15"
[dependencies.rayon]
version = "1.10"
[dependencies.regex]
version = "1.10"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sqlx]
features = ["runtime-tokio-rustls", "mysql", "postgres", "sqlite", "macros"]
optional = true
version = "0.7"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1.0"
[dependencies.toml]
version = "0.8"
[dependencies.tracing]
optional = true
version = "0.1"
[dependencies.uuid]
features = ["v4"]
version = "1.0"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.tempfile]
version = "3.8"
[dev-dependencies.toml]
version = "0.8"
[[example]]
name = "dynamic_generator_example"
path = "examples/dynamic_generator_example.rs"
[[example]]
name = "mysql_filling_example"
path = "examples/mysql_filling_example.rs"
[[example]]
name = "mysql_simple_test"
path = "examples/mysql_simple_test.rs"
[features]
database = ["sqlx", "tokio"]
default = ["database"]
tracing = ["dep:tracing"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "dataforge"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools::testing", "database"]
description = "高性能数据锻造工坊 - 为Rust开发者打造的随机数据生成与数据库填充解决方案"
edition = "2021"
keywords = ["data-generation", "testing", "database", "faker", "random"]
license = "MIT OR Apache-2.0"
name = "data-forge"
readme = "README.md"
repository = "https://gitee.com/rust_us/data-forge"
version = "0.1.0"
[profile.dev]
opt-level = 1
[profile.release]
codegen-units = 1
lto = true
opt-level = 3
[[test]]
name = "core_test"
path = "tests/core_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "lib_test"
path = "tests/lib_test.rs"
[[test]]
name = "macros_test"
path = "tests/macros_test.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "test_runner"
path = "tests/test_runner.rs"