xref: /rust-libc-0.2.174/libc-test/Cargo.toml (revision 36f5f133)
1[package]
2name = "libc-test"
3version = "0.2.150"
4authors = ["The Rust Project Developers"]
5license = "MIT OR Apache-2.0"
6build = "build.rs"
7repository = "https://github.com/rust-lang/libc"
8homepage = "https://github.com/rust-lang/libc"
9description = """
10A test crate for the libc crate.
11"""
12
13[dependencies.libc]
14path = ".."
15version = "0.2.150"
16default-features = false
17
18[build-dependencies]
19# FIXME: 1.0.84 has a bug about macOS version detection.
20cc = "=1.0.83"
21# FIXME: Use fork ctest until the maintainer gets back.
22ctest2 = "0.4.3"
23
24[features]
25default = ["std"]
26std = ["libc/std"]
27align = ["libc/align"]
28extra_traits = ["libc/extra_traits"]
29
30[[test]]
31name = "main"
32path = "test/main.rs"
33harness = false
34
35[[test]]
36name = "linux-fcntl"
37path = "test/linux_fcntl.rs"
38harness = false
39
40[[test]]
41name = "linux-if-arp"
42path = "test/linux_if_arp.rs"
43harness = false
44
45[[test]]
46name = "linux-ipv6"
47path = "test/linux_ipv6.rs"
48harness = false
49
50[[test]]
51name = "linux-elf"
52path = "test/linux_elf.rs"
53harness = false
54
55[[test]]
56name = "linux-strerror_r"
57path = "test/linux_strerror_r.rs"
58harness = false
59
60[[test]]
61name = "linux-termios"
62path = "test/linux_termios.rs"
63harness = false
64
65[[test]]
66name = "cmsg"
67path = "test/cmsg.rs"
68harness = true
69
70[[test]]
71name = "makedev"
72path = "test/makedev.rs"
73harness = true
74
75[[test]]
76name = "errqueue"
77path = "test/errqueue.rs"
78harness = true
79
80[[test]]
81name = "sigrt"
82path = "test/sigrt.rs"
83harness = true
84
85[[test]]
86name = "semver"
87path = "test/semver.rs"
88harness = false
89