Cargo.toml 992 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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", "tls"]
  30. # ---
  31. alloc_id = []
  32. allocator = []
  33. debugger = []
  34. log = ["write", "alloc_id"]
  35. no_log_lock = ["log"]
  36. security = []
  37. testing = ["log", "debugger"]
  38. tls = []
  39. unsafe_no_brk_lock = []
  40. unsafe_no_mutex_lock = []
  41. write = []
  42. [replace]
  43. "libc:0.2.17" = { git = "https://github.com/redox-os/liblibc.git", branch = "redox" }