Cargo.toml 862 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. [dependencies]
  13. unborrow = "0.3.0"
  14. [dependencies.ralloc_shim]
  15. path = "shim"
  16. version = "0.1"
  17. [dependencies.clippy]
  18. version = "0.0.80"
  19. optional = true
  20. [profile.release]
  21. panic = "abort"
  22. opt-level = 3
  23. debug = false
  24. rpath = false
  25. lto = true
  26. debug-assertions = false
  27. codegen-units = 1
  28. [features]
  29. default = ["allocator", "clippy"]
  30. # ---
  31. alloc_id = []
  32. allocator = []
  33. log = ["write", "alloc_id"]
  34. no_log_lock = ["log"]
  35. security = []
  36. testing = ["log", "write"]
  37. unsafe_no_brk_lock = []
  38. unsafe_no_mutex_lock = []
  39. write = []