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.libc] 16path = ".." 17version = "0.2.171" 18default-features = false 19 20[dev-dependencies] 21syn = { version = "2.0.91", features = ["full", "visit"] } 22proc-macro2 = { version = "1.0.92", features = ["span-locations"] } 23glob = "0.3.2" 24annotate-snippets = { version = "0.11.5", features = ["testing-colors"] } 25 26[build-dependencies] 27cc = "1.0.83" 28# FIXME: Use fork ctest until the maintainer gets back. 29ctest2 = "0.4.3" 30regex = "1.11.1" 31 32[features] 33default = ["std"] 34std = ["libc/std"] 35align = ["libc/align"] 36extra_traits = ["libc/extra_traits"] 37 38[[test]] 39name = "main" 40path = "test/main.rs" 41harness = false 42 43[[test]] 44name = "linux-fcntl" 45path = "test/linux_fcntl.rs" 46harness = false 47 48[[test]] 49name = "linux-if-arp" 50path = "test/linux_if_arp.rs" 51harness = false 52 53[[test]] 54name = "linux-ipv6" 55path = "test/linux_ipv6.rs" 56harness = false 57 58[[test]] 59name = "linux-elf" 60path = "test/linux_elf.rs" 61harness = false 62 63[[test]] 64name = "linux-strerror_r" 65path = "test/linux_strerror_r.rs" 66harness = false 67 68[[test]] 69name = "linux-termios" 70path = "test/linux_termios.rs" 71harness = false 72 73[[test]] 74name = "cmsg" 75path = "test/cmsg.rs" 76harness = true 77 78[[test]] 79name = "makedev" 80path = "test/makedev.rs" 81harness = true 82 83[[test]] 84name = "errqueue" 85path = "test/errqueue.rs" 86harness = true 87 88[[test]] 89name = "sigrt" 90path = "test/sigrt.rs" 91harness = true 92 93[[test]] 94name = "semver" 95path = "test/semver.rs" 96harness = false 97 98[[test]] 99name = "primitive_types" 100path = "test/primitive_types.rs" 101harness = true 102 103[[test]] 104name = "style" 105path = "test/check_style.rs" 106harness = true 107 108[[test]] 109name = "style_tests" 110path = "test/style_tests.rs" 111harness = true 112