Cargo.toml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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.24.3"
  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. unicode-width = "0.1"
  25. [dependencies.goblin]
  26. version = "0.0.21"
  27. default-features = false
  28. features = ["elf32", "elf64", "endian_fd"]
  29. [dependencies.ralloc]
  30. path = "ralloc"
  31. default-features = false
  32. optional = true
  33. [target.'cfg(target_os = "linux")'.dependencies]
  34. sc = "0.2.3"
  35. [target.'cfg(target_os = "dragonos")'.dependencies]
  36. # Development
  37. dragonos-dsc = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/dragonos-dsc.git", rev = "aa61cb0109" }
  38. [target.'cfg(target_os = "redox")'.dependencies]
  39. redox_syscall = "0.3"
  40. spin = "0.9.0"
  41. redox-exec = { path = "src/platform/redox/redox-exec" }
  42. [features]
  43. default = []
  44. trace = []
  45. [profile.dev]
  46. panic = "abort"
  47. [profile.release]
  48. panic = "abort"