| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "maybe-rayon" |
| 15 |
version = "0.1.1" |
| 16 |
description = "Either acts as rayon or creates a single-threaded facade" |
| 17 |
homepage = "https://github.com/shssoichiro/maybe-rayon" |
| 18 |
license = "MIT" |
| 19 |
repository = "https://github.com/shssoichiro/maybe-rayon" |
| 20 |
|
| 21 |
[dependencies.cfg-if] |
| 22 |
version = "1.0" |
| 23 |
|
| 24 |
[dependencies.rayon] |
| 25 |
version = "1.0" |
| 26 |
optional = true |
| 27 |
|
| 28 |
[features] |
| 29 |
default = ["threads"] |
| 30 |
threads = ["rayon"] |