# 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 = "2024"
name = "fast-able"
version = "1.19.2"
authors = ["guoyumail@qq.com"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The world's martial arts are fast and unbreakable; 天下武功 唯快不破"
readme = "README.md"
license = "MIT/Apache-2.0"
repository = "https://gitee.com/guoyucode/sync-data.git"

[features]
async = ["flume/async"]
crossbeam_channel = []
deal_physical_cpu = []
default = [
    "std_lock",
    "crossbeam_channel",
]
reentrant_lock = []
std_lock = []
thread_dispatch = []
thread_task_bounded = []

[lib]
name = "fast_able"
path = "src/lib.rs"

[[bin]]
name = "test_bounded_executor"
path = "src/bin/test_bounded_executor.rs"

[[bin]]
name = "test_core_affinity"
path = "src/bin/test_core_affinity.rs"

[[bin]]
name = "test_core_affinity_one"
path = "src/bin/test_core_affinity_one.rs"

[[bin]]
name = "test_pool"
path = "src/bin/test_pool.rs"

[[example]]
name = "channel_features_demo"
path = "examples/channel_features_demo.rs"

[[test]]
name = "btree"
path = "tests/btree.rs"

[[test]]
name = "hash_map"
path = "tests/hash_map.rs"

[[test]]
name = "test_wg"
path = "tests/test_wg.rs"

[[test]]
name = "vec"
path = "tests/vec.rs"

[[bench]]
name = "bench_crossbeam"
path = "benches/bench_crossbeam.rs"

[[bench]]
name = "bench_map"
path = "benches/bench_map.rs"

[[bench]]
name = "bench_map_b"
path = "benches/bench_map_b.rs"

[[bench]]
name = "bench_rw_vec"
path = "benches/bench_rw_vec.rs"

[dependencies.arraystring]
version = "0.3.0"

[dependencies.chrono]
version = "0.4"

[dependencies.core_affinity]
version = "0.8"

[dependencies.crossbeam]
version = "0.8"

[dependencies.flume]
version = "0.11"
default-features = false

[dependencies.fs2]
version = "0.4.3"

[dependencies.kanal]
version = "0.1.1"

[dependencies.log]
version = "0.4"

[dependencies.num_cpus]
version = "1"

[dependencies.parking_lot]
version = "0.12"

[dependencies.scopeguard]
version = "1.2.0"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.spin]
version = "0.10"

[dependencies.thingbuf]
version = "0.1.6"
features = ["static"]

[dev-dependencies.crossbeam]
version = "0.8"

[dev-dependencies.env_logger]
version = "0.11.3"

[dev-dependencies.once_cell]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1.0"
features = ["full"]

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
