Cargo.toml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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/jD91mZM2/syscall", branch = "ptrace-6" }
  34. # redox_syscall = { path = "/home/user/redox-nix/redox/kernel/syscall" }
  35. spin = "0.4.10"
  36. [features]
  37. default = []
  38. trace = []
  39. [profile.dev]
  40. panic = "abort"
  41. [profile.release]
  42. panic = "abort"