-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
68 lines (57 loc) · 1.46 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "syscalls"
version = "0.6.18"
authors = ["Jason White <[email protected]>", "Baojun Wang <[email protected]>"]
edition = "2021"
license = "BSD-2-Clause"
description = """
A list of Linux system calls.
"""
keywords = ["syscall", "linux"]
readme = "README.md"
repository = "https://github.com/jasonwhite/syscalls"
homepage = "https://github.com/jasonwhite/syscalls"
documentation = "https://docs.rs/syscalls"
[features]
default = ["std", "serde"]
# Enables all extra features.
full = ["std", "serde", "all"]
# Enables usage of libstd.
std = []
# Includes the syscall tables for all architectures.
all = [
"aarch64", "arm", "loongarch64", "mips", "mips64", "powerpc", "powerpc64",
"riscv32", "riscv64", "s390x", "sparc", "sparc64", "x86", "x86_64"
]
# Enable syscall tables for individual architectures.
aarch64 = []
arm = []
loongarch64 = []
mips = []
mips64 = []
powerpc = []
powerpc64 = []
riscv32 = []
riscv64 = []
s390x = []
sparc = []
sparc64 = []
x86 = []
x86_64 = []
# Deprecated: Use `serde` instead.
with-serde = ["serde", "serde_repr"]
# Enables Serialize/Deserialize impls.
serde = ["dep:serde", "serde_repr"]
[dependencies]
serde = { version = "1.0", default-features = false, features = ["derive"], optional = true }
serde_repr = { version = "0.1", optional = true }
[dev-dependencies]
libc = "0.2"
serde_json = "1"
[workspace]
members = [
"syscalls-gen",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "doc_cfg"]