forked from M-Labs/libfringe
37 lines
798 B
TOML
37 lines
798 B
TOML
[package]
|
|
authors = ["edef <edef@edef.eu>"]
|
|
name = "fringe"
|
|
description = "safe, lightweight userland context switches"
|
|
version = "1.0.0"
|
|
license = "Apache-2.0/MIT"
|
|
homepage = "https://github.com/edef1c/libfringe"
|
|
repository = "https://github.com/edef1c/libfringe"
|
|
documentation = "https://edef1c.github.io/libfringe"
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2.14"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
kernel32-sys = "0.2.2"
|
|
winapi = "0.2.6"
|
|
|
|
[dependencies.valgrind_request]
|
|
optional = true
|
|
version = "1.0.0"
|
|
|
|
[dev-dependencies]
|
|
simd = "0.1"
|
|
|
|
[features]
|
|
default = ["alloc", "valgrind"]
|
|
alloc = []
|
|
valgrind = ["valgrind_request"]
|
|
|
|
# These apply only to tests within this library; assembly at -O0 is completely
|
|
# unreadable, so use -O1.
|
|
[profile.dev]
|
|
opt-level = 1
|
|
|
|
[profile.test]
|
|
opt-level = 1
|