Cargo.toml 881 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.ralloc_shim]
  13. path = "shim"
  14. [dependencies.clippy]
  15. version = "0.0.80"
  16. optional = true
  17. [dependencies.unborrow]
  18. git = "https://github.com/durka/unborrow.git"
  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"]
  29. # ---
  30. allocator = []
  31. debug_tools = []
  32. libc_write = []
  33. log = ["libc_write"]
  34. security = []
  35. testing = ["log", "libc_write", "debug_tools"]
  36. unsafe_no_brk_lock = []
  37. unsafe_no_mutex_lock = []