xref: /relibc/Cargo.toml (revision 4f4c6e665fcef8b9dbd44135e375f62c20fb7ade)
1[package]
2name = "relibc"
3version = "0.2.5"
4authors = ["Jeremy Soller <jackpot51@gmail.com>"]
5edition = "2018"
6
7[lib]
8name = "relibc"
9crate-type = ["staticlib"]
10
11[workspace]
12members = ["src/crt0", "src/crti", "src/crtn", "src/ld_so", "src/platform/redox/redox-exec"]
13exclude = ["core_io", "ralloc", "tests"]
14
15[build-dependencies]
16cbindgen = "0.24.3"
17cc = "1.0.25"
18
19[dependencies]
20cbitset = "0.1.0"
21core_io = { path = "core_io", features = ["collections"] }
22lazy_static = { version = "1.4.0", default-features = false, features = ["spin_no_std"] }
23memoffset = "0.5.1"
24posix-regex = { path = "posix-regex", features = ["no_std"] }
25rand = { version = "0.5.5", default-features = false }
26memchr = { version = "2.2.0", default-features = false }
27plain = "0.2"
28unicode-width = "0.1"
29
30[dependencies.goblin]
31version = "0.0.21"
32default-features = false
33features = ["elf32", "elf64", "endian_fd"]
34
35[dependencies.ralloc]
36path = "ralloc"
37default-features = false
38optional = true
39
40[target.'cfg(target_os = "linux")'.dependencies]
41sc = "0.2.3"
42
43[target.'cfg(target_os = "dragonos")'.dependencies]
44# Development
45dragonos-dsc = { git = "https://github.com/DragonOS-Community/dsc.git", rev = "b7ebf35" }
46
47[target.'cfg(target_os = "redox")'.dependencies]
48redox_syscall = "0.3"
49spin = "0.9.0"
50redox-exec = { path = "src/platform/redox/redox-exec" }
51
52[features]
53default = []
54trace = []
55
56[profile.dev]
57panic = "abort"
58
59[profile.release]
60panic = "abort"
61