Cargo.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [package]
  2. name = "ralloc"
  3. version = "1.0.0"
  4. authors = ["ticki <ticki@users.noreply.github.com>"]
  5. # URLs and paths
  6. description = "An efficient alternative platform-agnostic allocator."
  7. repository = "https://github.com/redox-os/ralloc"
  8. readme = "README.md"
  9. # Metadata
  10. keywords = ["alloc", "malloc", "allocator", "ralloc", "redox"]
  11. license = "MIT"
  12. [target.'cfg(not(target_os = "redox"))'.dependencies]
  13. libc = { version = "0.2", default-features = false }
  14. [target.'cfg(target_os = "redox")'.dependencies]
  15. redox_syscall = { git = "https://github.com/redox-os/syscall.git" }
  16. [dependencies.clippy]
  17. version = "0.0.80"
  18. optional = true
  19. [profile.release]
  20. panic = "abort"
  21. opt-level = 3
  22. debug = false
  23. rpath = false
  24. lto = true
  25. debug-assertions = false
  26. codegen-units = 1
  27. [features]
  28. default = ["allocator", "clippy", "tls"]
  29. # ---
  30. alloc_id = []
  31. allocator = []
  32. debugger = []
  33. log = ["write", "alloc_id"]
  34. no_log_lock = ["log"]
  35. security = []
  36. testing = ["log", "debugger"]
  37. tls = []
  38. unsafe_no_brk_lock = []
  39. unsafe_no_mutex_lock = []
  40. write = []