xref: /rust-libc-0.2.174/libc-test/Cargo.toml (revision 54e402ff)
1[package]
2name = "libc-test"
3version = "0.2.155"
4edition = "2021"
5authors = ["The Rust Project Developers"]
6license = "MIT OR Apache-2.0"
7build = "build.rs"
8publish = false
9repository = "https://github.com/rust-lang/libc"
10homepage = "https://github.com/rust-lang/libc"
11description = """
12A test crate for the libc crate.
13"""
14
15[dependencies]
16cfg-if = "1.0.0"
17libc = { path = "..", version = "0.2.171", default-features = false }
18
19[dev-dependencies]
20syn = { version = "2.0.91", features = ["full", "visit"] }
21proc-macro2 = { version = "1.0.92", features = ["span-locations"] }
22glob = "0.3.2"
23annotate-snippets = { version = "0.11.5", features = ["testing-colors"] }
24
25[build-dependencies]
26cc = "1.0.83"
27# FIXME: Use fork ctest until the maintainer gets back.
28ctest2 = "0.4.3"
29regex = "1.11.1"
30
31[features]
32default = ["std"]
33std = ["libc/std"]
34align = ["libc/align"]
35extra_traits = ["libc/extra_traits"]
36
37[[test]]
38name = "main"
39path = "test/main.rs"
40harness = false
41
42[[test]]
43name = "linux-fcntl"
44path = "test/linux_fcntl.rs"
45harness = false
46
47[[test]]
48name = "linux-if-arp"
49path = "test/linux_if_arp.rs"
50harness = false
51
52[[test]]
53name = "linux-ipv6"
54path = "test/linux_ipv6.rs"
55harness = false
56
57[[test]]
58name = "linux-elf"
59path = "test/linux_elf.rs"
60harness = false
61
62[[test]]
63name = "linux-strerror_r"
64path = "test/linux_strerror_r.rs"
65harness = false
66
67[[test]]
68name = "linux-termios"
69path = "test/linux_termios.rs"
70harness = false
71
72[[test]]
73name = "cmsg"
74path = "test/cmsg.rs"
75harness = true
76
77[[test]]
78name = "makedev"
79path = "test/makedev.rs"
80harness = true
81
82[[test]]
83name = "errqueue"
84path = "test/errqueue.rs"
85harness = true
86
87[[test]]
88name = "sigrt"
89path = "test/sigrt.rs"
90harness = true
91
92[[test]]
93name = "semver"
94path = "test/semver.rs"
95harness = false
96
97[[test]]
98name = "primitive_types"
99path = "test/primitive_types.rs"
100harness = true
101
102[[test]]
103name = "style"
104path = "test/check_style.rs"
105harness = true
106
107[[test]]
108name = "style_tests"
109path = "test/style_tests.rs"
110harness = true
111