114 lines
2.2 KiB
TOML
114 lines
2.2 KiB
TOML
# 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 = "2021"
|
|
name = "kqueue"
|
|
version = "1.2.0"
|
|
authors = ["William Orr <will@worrbase.com>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "kqueue interface for BSDs"
|
|
documentation = "https://docs.worrbase.com/rust/kqueue/"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"kqueue",
|
|
"kevent",
|
|
"bsd",
|
|
]
|
|
categories = [
|
|
"os::unix-apis",
|
|
"filesystem",
|
|
]
|
|
license = "MIT"
|
|
repository = "https://gitlab.com/rust-kqueue/rust-kqueue"
|
|
|
|
[package.metadata.docs.rs]
|
|
targets = [
|
|
"x86_64-unknown-netbsd",
|
|
"x86_64-unknown-freebsd",
|
|
"i686-unknown-freebsd",
|
|
"x86_64-unknown-dragonfly",
|
|
"x86_64-unknown-openbsd",
|
|
"aarch64-apple-darwin",
|
|
"x86_64-apple-darwin",
|
|
"aarch64-apple-ios",
|
|
"x86_64-apple-ios",
|
|
]
|
|
|
|
[lib]
|
|
name = "kqueue"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "file"
|
|
path = "examples/file.rs"
|
|
|
|
[[example]]
|
|
name = "pid"
|
|
path = "examples/pid.rs"
|
|
|
|
[[test]]
|
|
name = "dhat_add_hundred"
|
|
path = "tests/dhat_add_hundred.rs"
|
|
|
|
[[test]]
|
|
name = "dhat_add_single"
|
|
path = "tests/dhat_add_single.rs"
|
|
|
|
[[test]]
|
|
name = "dhat_add_ten"
|
|
path = "tests/dhat_add_ten.rs"
|
|
|
|
[[test]]
|
|
name = "dhat_rm_hundred"
|
|
path = "tests/dhat_rm_hundred.rs"
|
|
|
|
[[test]]
|
|
name = "dhat_rm_single"
|
|
path = "tests/dhat_rm_single.rs"
|
|
|
|
[[test]]
|
|
name = "dhat_rm_ten"
|
|
path = "tests/dhat_rm_ten.rs"
|
|
|
|
[[bench]]
|
|
name = "criterion_scaling"
|
|
path = "benches/criterion_scaling.rs"
|
|
harness = false
|
|
|
|
[dependencies.kqueue-sys]
|
|
version = "^1.1.1"
|
|
|
|
[dependencies.libc]
|
|
version = "^0.2.17"
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.5"
|
|
features = ["html_reports"]
|
|
|
|
[dev-dependencies.dhat]
|
|
version = "0.3.2"
|
|
|
|
[dev-dependencies.tempfile]
|
|
version = "3.1.0"
|
|
|
|
[lints.clippy]
|
|
print_stderr = "deny"
|
|
print_stdout = "deny"
|
|
|
|
[profile.bench]
|
|
debug = 2
|