From 5b1388888baa172dbcb9f2c5748ff9f26792df8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Mon, 14 Jul 2014 17:56:35 +0200 Subject: [PATCH] Update the compilation section of the README. --- README.md | 16 +++++++--------- src/lib.rs | 16 ++++++---------- 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 1838b627..a0f072b7 100644 --- a/README.md +++ b/README.md @@ -71,23 +71,21 @@ fn main() { ``` ## Compilation -You will need the last rust compiler from the master branch. -If you encounter problems, make sure you have the last version before creating an issue. +You will need the last nightly build of the [rust compiler](http://www.rust-lang.org) +and the official package manager: [cargo](https://github.com/rust-lang/cargo). - git clone git://github.com/sebcrozet/nalgebra.git - cd nalgebra - make - -You can build the documentation on the `doc` folder using: +Simply add the following to your `Cargo.toml` file: ``` -make doc +[dependencies.nalgebra] +git = "https://github.com/sebcrozet/nalgebra" ``` + ## **nalgebra** in use Here are some projects using **nalgebra**. Feel free to add your project to this list if you happen to use **nalgebra**! * [nphysics](http://nphysics-dev.org): a real-time physics engine. * [ncollide](http://ncollide.org): a collision detection library. -* [kiss3d](https://kiss3d.org): a minimalistic graphics engine. +* [kiss3d](http://kiss3d.org): a minimalistic graphics engine. diff --git a/src/lib.rs b/src/lib.rs index f2a857ca..736a952e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -71,20 +71,16 @@ fn main() { ``` ## Compilation -You will need the last rust compiler from the master branch. -If you encounter problems, make sure you have the last version before creating an issue. +You will need the last nightly build of the [rust compiler](http://www.rust-lang.org) +and the official package manager: [cargo](https://github.com/rust-lang/cargo). + +Simply add the following to your `Cargo.toml` file: ```.ignore -git clone git://github.com/sebcrozet/nalgebra.git -cd nalgebra -make +[dependencies.nalgebra] +git = "https://github.com/sebcrozet/nalgebra" ``` -You can build the documentation on the `doc` folder using: - -```.ignore -make doc -``` ## **nalgebra** in use Here are some projects using **nalgebra**.