Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [package]
  2. name = "relibc"
  3. version = "0.1.0"
  4. authors = ["Jeremy Soller <[email protected]>"]
  5. edition = "2018"
  6. [lib]
  7. name = "relibc"
  8. crate-type = ["staticlib"]
  9. [workspace]
  10. members = ["src/crt0", "src/crti", "src/crtn", "src/ld_so"]
  11. exclude = ["cbindgen", "core_io", "ralloc"]
  12. [build-dependencies]
  13. cc = "1.0.25"
  14. [dependencies]
  15. cbitset = "0.1.0"
  16. core_io = { path = "core_io", features = ["collections"] }
  17. lazy_static = { version = "1.2.0", features = ["nightly", "spin_no_std"] }
  18. memoffset = "0.5.1"
  19. posix-regex = { path = "posix-regex", features = ["no_std"] }
  20. rand = { version = "0.5.5", default-features = false }
  21. memchr = { version = "2.2.0", default-features = false }
  22. [dependencies.goblin]
  23. version = "0.0.21"
  24. default-features = false
  25. features = ["elf32", "elf64", "endian_fd"]
  26. [dependencies.ralloc]
  27. path = "ralloc"
  28. default-features = false
  29. optional = true
  30. [target.'cfg(target_os = "linux")'.dependencies]
  31. sc = "0.2.2"
  32. [target.'cfg(target_os = "redox")'.dependencies]
  33. redox_syscall = { git = "https://gitlab.redox-os.org/redox-os/syscall", rev = "0e1e7d5d" }
  34. spin = "0.4.10"
  35. [features]
  36. default = []
  37. trace = []
  38. [profile.dev]
  39. panic = "abort"
  40. [profile.release]
  41. panic = "abort"