64 lines
1.3 KiB
TOML
64 lines
1.3 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"
|
|
rust-version = "1.65.0"
|
|
name = "rlimit"
|
|
version = "0.11.0"
|
|
authors = ["Nugine <nugine@foxmail.com>"]
|
|
build = "build.rs"
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Resource limits"
|
|
documentation = "https://docs.rs/rlimit"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"rlimit",
|
|
"unix",
|
|
"syscall",
|
|
]
|
|
categories = ["os::unix-apis"]
|
|
license = "MIT"
|
|
repository = "https://github.com/Nugine/rlimit/"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = [
|
|
"--cfg",
|
|
"docsrs",
|
|
]
|
|
|
|
[lib]
|
|
name = "rlimit"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "nofile"
|
|
path = "examples/nofile.rs"
|
|
|
|
[[example]]
|
|
name = "sys_limits"
|
|
path = "examples/sys_limits.rs"
|
|
|
|
[[test]]
|
|
name = "it"
|
|
path = "tests/it/main.rs"
|
|
|
|
[dependencies.libc]
|
|
version = "0.2.180"
|
|
|
|
[dev-dependencies.once_cell]
|
|
version = "1.21.3"
|