| 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 |
rust-version = "1.63" |
| 15 |
name = "linux-raw-sys" |
| 16 |
version = "0.4.13" |
| 17 |
authors = ["Dan Gohman <[email protected]>"] |
| 18 |
exclude = [ |
| 19 |
"/gen", |
| 20 |
"/.*", |
| 21 |
] |
| 22 |
description = "Generated bindings for Linux's userspace API" |
| 23 |
documentation = "https://docs.rs/linux-raw-sys" |
| 24 |
readme = "README.md" |
| 25 |
keywords = [ |
| 26 |
"linux", |
| 27 |
"uapi", |
| 28 |
"ffi", |
| 29 |
] |
| 30 |
categories = ["external-ffi-bindings"] |
| 31 |
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" |
| 32 |
repository = "https://github.com/sunfishcode/linux-raw-sys" |
| 33 |
|
| 34 |
[package.metadata.docs.rs] |
| 35 |
features = [ |
| 36 |
"default", |
| 37 |
"ioctl", |
| 38 |
"netlink", |
| 39 |
"io_uring", |
| 40 |
"if_ether", |
| 41 |
"net", |
| 42 |
"prctl", |
| 43 |
"elf", |
| 44 |
"xdp", |
| 45 |
"mempolicy", |
| 46 |
"system", |
| 47 |
] |
| 48 |
targets = [ |
| 49 |
"x86_64-unknown-linux-gnu", |
| 50 |
"i686-unknown-linux-gnu", |
| 51 |
] |
| 52 |
|
| 53 |
[dependencies.compiler_builtins] |
| 54 |
version = "0.1.49" |
| 55 |
optional = true |
| 56 |
|
| 57 |
[dependencies.core] |
| 58 |
version = "1.0.0" |
| 59 |
optional = true |
| 60 |
package = "rustc-std-workspace-core" |
| 61 |
|
| 62 |
[dev-dependencies.libc] |
| 63 |
version = "0.2.100" |
| 64 |
|
| 65 |
[dev-dependencies.static_assertions] |
| 66 |
version = "1.1.0" |
| 67 |
|
| 68 |
[features] |
| 69 |
default = [ |
| 70 |
"std", |
| 71 |
"general", |
| 72 |
"errno", |
| 73 |
] |
| 74 |
elf = [] |
| 75 |
errno = [] |
| 76 |
general = [] |
| 77 |
if_ether = [] |
| 78 |
if_packet = [] |
| 79 |
io_uring = [] |
| 80 |
ioctl = [] |
| 81 |
mempolicy = [] |
| 82 |
net = [] |
| 83 |
netlink = [] |
| 84 |
no_std = [] |
| 85 |
prctl = [] |
| 86 |
rustc-dep-of-std = [ |
| 87 |
"core", |
| 88 |
"compiler_builtins", |
| 89 |
"no_std", |
| 90 |
] |
| 91 |
std = [] |
| 92 |
system = [] |
| 93 |
xdp = [] |