Debian Codegraph @

third_party/rust/linux-raw-sys/Cargo.toml

raw
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.14"
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 "bootparam",
38 "ioctl",
39 "netlink",
40 "io_uring",
41 "if_arp",
42 "if_ether",
43 "if_packet",
44 "net",
45 "prctl",
46 "elf",
47 "xdp",
48 "mempolicy",
49 "system",
50 "loop_device",
51 ]
52 targets = [
53 "x86_64-unknown-linux-gnu",
54 "i686-unknown-linux-gnu",
55 ]
56
57 [dependencies.compiler_builtins]
58 version = "0.1.49"
59 optional = true
60
61 [dependencies.core]
62 version = "1.0.0"
63 optional = true
64 package = "rustc-std-workspace-core"
65
66 [dev-dependencies.libc]
67 version = "0.2.100"
68
69 [dev-dependencies.static_assertions]
70 version = "1.1.0"
71
72 [features]
73 bootparam = []
74 default = [
75 "std",
76 "general",
77 "errno",
78 ]
79 elf = []
80 errno = []
81 general = []
82 if_arp = []
83 if_ether = []
84 if_packet = []
85 io_uring = []
86 ioctl = []
87 loop_device = []
88 mempolicy = []
89 net = []
90 netlink = []
91 no_std = []
92 prctl = []
93 rustc-dep-of-std = [
94 "core",
95 "compiler_builtins",
96 "no_std",
97 ]
98 std = []
99 system = []
100 xdp = []