Skip to content
Snippets Groups Projects
Cargo.toml 2.35 KiB
Newer Older
[package]
name = "relibc"
version = "0.2.5"
authors = ["Jeremy Soller <jackpot51@gmail.com>"]
edition = "2021"
crate-type = ["staticlib"]

[workspace]
members = [
    "src/crt0",
    "src/crti",
    "src/crtn",
    "generic-rt",
Darley Barreto's avatar
Darley Barreto committed
exclude = ["tests", "dlmalloc-rs"]
[dependencies]
posix-regex = { path = "posix-regex", features = ["no_std"] }

# TODO: For some reason, rand_jitter hasn't been updated to use the latest rand_core
rand = { version = "0.8", default-features = false, features = ["small_rng"] }
rand_xorshift = "0.3"
rand_jitter = "0.4"
jD91mZM2's avatar
jD91mZM2 committed
memchr = { version = "2.2.0", default-features = false }
Jeremy Soller's avatar
Jeremy Soller committed
unicode-width = "0.1"
__libc_only_for_layout_checks = { package = "libc", version = "0.2.149", optional = true }
md5-crypto = { package = "md-5", version = "0.10.6", default-features = false }
Darley Barreto's avatar
Darley Barreto committed
sha-crypt = { version = "0.5", default-features = false }
base64ct = { version = "1.6", default-features = false, features = ["alloc"] }
bcrypt-pbkdf = { version = "0.10", default-features = false, features = [
    "alloc",
] }
scrypt = { version = "0.11", default-features = false, features = ["simple"] }
pbkdf2 = { version = "0.12", features = ["sha2"] }
Darley Barreto's avatar
Darley Barreto committed
sha2 = { version = "0.10", default-features = false }
generic-rt = { path = "generic-rt" }
chrono-tz = {version = "0.10", default-features = false}
chrono = {version = "0.4", default-features = false, features = ["alloc"]}
object = { version = "0.36.7", git = "https://gitlab.redox-os.org/andypython/object", default-features = false, features = ["elf", "read_core"] }
spin = "0.9.8"
Darley Barreto's avatar
Darley Barreto committed
[dependencies.dlmalloc]
path = "dlmalloc-rs"
default-features = false
features = ["c_api"]

[target.'cfg(target_os = "linux")'.dependencies]

[target.'cfg(target_os = "redox")'.dependencies]
Anhad Singh's avatar
Anhad Singh committed
redox_syscall = "0.5.8"
redox-rt = { path = "redox-rt" }
redox-path = "0.2"
redox_event = { git = "https://gitlab.redox-os.org/redox-os/event.git", default-features = false, features = [
    "redox_syscall",
] }
[features]
default = ["check_against_libc_crate"]
trace = []
check_against_libc_crate = ["__libc_only_for_layout_checks"]
[profile.dev]
panic = "abort"

[profile.release]
panic = "abort"
Andrey Turkin's avatar
Andrey Turkin committed

[patch.crates-io]
cc-11 = { git = "https://github.com/tea/cc-rs", branch = "riscv-abi-arch-fix", package = "cc" }