From a1bdd83e343b85f0db7f7ea40e66f9dbf981a041 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 12 Mar 2024 16:02:37 -0500 Subject: [PATCH] Take version number of of README (#82) Avoids the need to update it for publishes. --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7d891ad..45b0a79 100644 --- a/README.md +++ b/README.md @@ -31,11 +31,10 @@ This crate is procedurally generated from [WIT] files using [`wit-bindgen`]. # Usage -First you can depend on this crate via `Cargo.toml`: +Depending on this crate can be done by adding it to your dependencies: -```toml -[dependencies] -wasi = "0.12.0" +```sh +$ cargo add wasi ``` Next you can use the APIs in the root of the module like so: @@ -148,7 +147,7 @@ This project is triple licenced under the Apache 2/ Apache 2 with LLVM exception - Apache 2/ MIT is used in the rust standard library, and some of this code may be migrated there. - Some of this code may be used in compiler output, and the Apache 2 with LLVM exceptions licence is useful for this. -For more details see +For more details see - [Apache 2 Licence](LICENSE-APACHE) - [Apache 2 Licence with LLVM exceptions](LICENSE-Apache-2.0_WITH_LLVM-exception) - [MIT Licence](LICENSE-MIT)