diff --git a/.gitignore b/.gitignore index 1455809..ed4ea6c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,7 @@ # Binaries pstree + +# Cargo +target/ +Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..142924d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "pstree" +version = "0.2.0" +authors = ["Paul Osborne "] + +[[bin]] + +name = "pstree" +path = "pstree.rs" diff --git a/README.md b/README.md index 6eb03d9..4c14377 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,11 @@ is not intended to replace it. Build and Run It ----------------- -You will need to install the latest version of rust. When I -originally wrote this code, v0.12 of Rust had just recently been -released. - - $ rustc pstree.rs - $ ./pstree +You will need to install the latest version of rust. This has been tested +with the latest nightlies as of March 3, 2015 (1.0.0 alpha). + $ cargo build + $ ./target/pstree Notes From Implementing -----------------------