Explorar o código

Add instructions for usage

ticki %!s(int64=9) %!d(string=hai) anos
pai
achega
7f66ee45a0
Modificáronse 1 ficheiros con 17 adicións e 0 borrados
  1. 17 0
      README.md

+ 17 - 0
README.md

@@ -2,6 +2,23 @@
 
 Redox's fast & memory efficient userspace allocator.
 
+## Using ralloc
+
+Add ralloc to `Cargo.toml`:
+
+```toml
+[dependencies.ralloc]
+git = "https://github.com/redox-os/ralloc.git"
+```
+
+then import it in your main file:
+
+```rust
+extern crate ralloc;
+```
+
+`ralloc` is now ready to roll!
+
 ## Features
 
 ### Custom out-of-memory handlers