| 1 | [package] |
| 2 | name = "divan" |
| 3 | version = "0.1.21" |
| 4 | rust-version = "1.80.0" |
| 5 | edition = "2021" |
| 6 | authors = ["Nikolai Vazquez" ] |
| 7 | license = "MIT OR Apache-2.0" |
| 8 | description = "Statistically-comfy benchmarking library." |
| 9 | repository = "https://github.com/nvzqz/divan" |
| 10 | homepage = "https://github.com/nvzqz/divan" |
| 11 | documentation = "https://docs.rs/divan" |
| 12 | categories = ["development-tools::profiling" ] |
| 13 | keywords = ["benchmark" , "criterion" , "instrument" , "measure" , "performance" ] |
| 14 | readme = "README.md" |
| 15 | |
| 16 | [dependencies] |
| 17 | divan-macros = { version = "=0.1.21" , path = "macros" } |
| 18 | |
| 19 | cfg-if = "1" |
| 20 | clap = { version = "4" , default-features = false, features = ["std" , "env" ] } |
| 21 | condtype = "1.3" |
| 22 | regex = { package = "regex-lite" , version = "0.1" , default-features = false, features = ["std" , "string" ] } |
| 23 | |
| 24 | [target.'cfg(unix)'.dependencies] |
| 25 | libc = { workspace = true } |
| 26 | |
| 27 | [dev-dependencies] |
| 28 | mimalloc = "0.1" |
| 29 | |
| 30 | [features] |
| 31 | default = ["wrap_help" ] |
| 32 | help = ["clap/help" ] |
| 33 | wrap_help = ["help" , "clap/wrap_help" ] |
| 34 | |
| 35 | # Opt out of faster static thread-local access and instead always dynamically |
| 36 | # allocate thread-local storage. |
| 37 | # |
| 38 | # On x86_64 macOS we use TLS key 11 (reserved for Windows ABI compatability): |
| 39 | # https://github.com/apple-oss-distributions/libpthread/blob/libpthread-519/private/pthread/tsd_private.h#L99 |
| 40 | dyn_thread_local = [] |
| 41 | |
| 42 | # Benchmark internals. Not meant for public use. |
| 43 | internal_benches = [] |
| 44 | |
| 45 | [workspace] |
| 46 | members = ["macros" , "examples" , "internal_benches" ] |
| 47 | |
| 48 | [workspace.dependencies] |
| 49 | divan = { path = "." } |
| 50 | libc = "0.2.148" |
| 51 | |