Cargo.toml 852 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [package]
  2. name = "ralloc"
  3. version = "0.1.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. ralloc_shim = { path = "shim" }
  14. [dependencies.clippy]
  15. git = "https://github.com/Manishearth/rust-clippy.git"
  16. optional = true
  17. [profile.release]
  18. panic = "abort"
  19. opt-level = 3
  20. debug = false
  21. rpath = false
  22. lto = true
  23. debug-assertions = false
  24. codegen-units = 1
  25. [features]
  26. default = ["allocator", "clippy"]
  27. # ---
  28. allocator = []
  29. debug_tools = []
  30. libc_write = []
  31. log = ["libc_write"]
  32. security = []
  33. testing = ["log", "libc_write", "debug_tools"]
  34. unsafe_no_brk_lock = []
  35. unsafe_no_mutex_lock = []