| 1 |
[package] |
| 2 |
name = "maybe-rayon" |
| 3 |
version = "0.1.1" |
| 4 |
edition = "2021" |
| 5 |
license = "MIT" |
| 6 |
description = "Either acts as rayon or creates a single-threaded facade" |
| 7 |
homepage = "https://github.com/shssoichiro/maybe-rayon" |
| 8 |
repository = "https://github.com/shssoichiro/maybe-rayon" |
| 9 |
|
| 10 |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
| 11 |
|
| 12 |
[dependencies] |
| 13 |
cfg-if = "1.0" |
| 14 |
rayon = { optional = true, version = "1.0" } |
| 15 |
|
| 16 |
[features] |
| 17 |
default = ["threads"] |
| 18 |
threads = ["rayon"] |