Cargo.toml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [package]
  2. name = "relibc"
  3. version = "0.2.5"
  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", "src/platform/redox/redox-exec"]
  11. exclude = ["core_io", "ralloc", "tests"]
  12. [build-dependencies]
  13. cbindgen = "0.13.2"
  14. cc = "1.0.25"
  15. [dependencies]
  16. cbitset = "0.1.0"
  17. core_io = { path = "core_io", features = ["collections"] }
  18. lazy_static = { version = "1.4.0", default-features = false, features = ["spin_no_std"] }
  19. memoffset = "0.5.1"
  20. posix-regex = { path = "posix-regex", features = ["no_std"] }
  21. rand = { version = "0.5.5", default-features = false }
  22. memchr = { version = "2.2.0", default-features = false }
  23. plain = "0.2"
  24. [dependencies.goblin]
  25. version = "0.0.21"
  26. default-features = false
  27. features = ["elf32", "elf64", "endian_fd"]
  28. [dependencies.ralloc]
  29. path = "ralloc"
  30. default-features = false
  31. optional = true
  32. [target.'cfg(target_os = "linux")'.dependencies]
  33. sc = "0.2.3"
  34. [target.'cfg(target_os = "redox")'.dependencies]
  35. redox_syscall = "0.3"
  36. spin = "0.9.0"
  37. redox-exec = { path = "src/platform/redox/redox-exec" }
  38. [features]
  39. default = []
  40. trace = []
  41. [profile.dev]
  42. panic = "abort"
  43. [profile.release]
  44. panic = "abort"