Cargo.toml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. [package]
  2. name = "relibc"
  3. version = "0.1.0"
  4. authors = ["Jeremy Soller <[email protected]>"]
  5. [lib]
  6. name = "c"
  7. crate-type = ["staticlib"]
  8. [workspace]
  9. members = ["src/crt0", "src/crti", "src/crtn", "cbindgen"]
  10. exclude = ["core_io", "ralloc"]
  11. [build-dependencies]
  12. cc = "1.0.25"
  13. [dependencies]
  14. cbitset = "0.1.0"
  15. core_io = { path = "core_io", features = ["collections"] }
  16. lazy_static = { version = "1.2.0", features = ["nightly", "spin_no_std"] }
  17. posix-regex = { path = "posix-regex", features = ["no_std"] }
  18. rand = { version = "0.5.5", default-features = false }
  19. va_list = { path = "va_list", features = ["no_std"] }
  20. [dependencies.compiler_builtins]
  21. git = "https://github.com/rust-lang-nursery/compiler-builtins.git"
  22. default-features = false
  23. features = ["no-lang-items", "mangled-names"]
  24. [dependencies.ralloc]
  25. path = "ralloc"
  26. default-features = false
  27. optional = true
  28. [target.'cfg(target_os = "linux")'.dependencies]
  29. sc = "0.2.2"
  30. [target.'cfg(target_os = "redox")'.dependencies]
  31. redox_syscall = "0.1"
  32. spin = "0.4.10"
  33. [features]
  34. #default = ["trace"]
  35. trace = []
  36. [profile.dev]
  37. panic = "abort"
  38. [profile.release]
  39. panic = "abort"