| 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.12.1" |
| 17 |
authors = ["Dan Gohman <[email protected]>"] |
| 18 |
build = false |
| 19 |
exclude = [ |
| 20 |
"/gen", |
| 21 |
"/.*", |
| 22 |
] |
| 23 |
autolib = false |
| 24 |
autobins = false |
| 25 |
autoexamples = false |
| 26 |
autotests = false |
| 27 |
autobenches = false |
| 28 |
description = "Generated bindings for Linux's userspace API" |
| 29 |
documentation = "https://docs.rs/linux-raw-sys" |
| 30 |
readme = "README.md" |
| 31 |
keywords = [ |
| 32 |
"linux", |
| 33 |
"uapi", |
| 34 |
"ffi", |
| 35 |
] |
| 36 |
categories = ["external-ffi-bindings"] |
| 37 |
license = "Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT" |
| 38 |
repository = "https://github.com/sunfishcode/linux-raw-sys" |
| 39 |
|
| 40 |
[package.metadata.docs.rs] |
| 41 |
features = [ |
| 42 |
"default", |
| 43 |
"bootparam", |
| 44 |
"btrfs", |
| 45 |
"elf_uapi", |
| 46 |
"image", |
| 47 |
"ioctl", |
| 48 |
"landlock", |
| 49 |
"netlink", |
| 50 |
"io_uring", |
| 51 |
"if_arp", |
| 52 |
"if_ether", |
| 53 |
"if_packet", |
| 54 |
"net", |
| 55 |
"ptrace", |
| 56 |
"prctl", |
| 57 |
"elf", |
| 58 |
"xdp", |
| 59 |
"mempolicy", |
| 60 |
"system", |
| 61 |
"loop_device", |
| 62 |
] |
| 63 |
targets = [ |
| 64 |
"x86_64-unknown-linux-gnu", |
| 65 |
"i686-unknown-linux-gnu", |
| 66 |
] |
| 67 |
|
| 68 |
[features] |
| 69 |
auxvec = [] |
| 70 |
bootparam = [] |
| 71 |
btrfs = [] |
| 72 |
default = [ |
| 73 |
"std", |
| 74 |
"general", |
| 75 |
"errno", |
| 76 |
] |
| 77 |
elf = [] |
| 78 |
elf_uapi = [] |
| 79 |
errno = [] |
| 80 |
general = [] |
| 81 |
if_arp = [] |
| 82 |
if_ether = [] |
| 83 |
if_packet = [] |
| 84 |
if_tun = [] |
| 85 |
image = [] |
| 86 |
io_uring = [] |
| 87 |
ioctl = [] |
| 88 |
landlock = [] |
| 89 |
loop_device = [] |
| 90 |
mempolicy = [] |
| 91 |
net = [] |
| 92 |
netlink = [] |
| 93 |
no_std = [] |
| 94 |
prctl = [] |
| 95 |
ptrace = [] |
| 96 |
rustc-dep-of-std = [ |
| 97 |
"core", |
| 98 |
"no_std", |
| 99 |
] |
| 100 |
std = [] |
| 101 |
system = [] |
| 102 |
vm_sockets = [] |
| 103 |
xdp = [] |
| 104 |
|
| 105 |
[lib] |
| 106 |
name = "linux_raw_sys" |
| 107 |
path = "src/lib.rs" |
| 108 |
|
| 109 |
[dependencies.core] |
| 110 |
version = "1.0.0" |
| 111 |
optional = true |
| 112 |
package = "rustc-std-workspace-core" |
| 113 |
|
| 114 |
[dev-dependencies.libc] |
| 115 |
version = "0.2.100" |
| 116 |
|
| 117 |
[dev-dependencies.static_assertions] |
| 118 |
version = "1.1.0" |
| 119 |
|
| 120 |
[lints.rust.unexpected_cfgs] |
| 121 |
level = "warn" |
| 122 |
priority = 0 |
| 123 |
check-cfg = ['cfg(target_arch, values("xtensa"))'] |