diff --git a/README.rst b/README.rst index 621217f888..0186bc57f8 100644 --- a/README.rst +++ b/README.rst @@ -66,11 +66,15 @@ default, and enable the `no_std` feature. For example, to build `cretonne`: +.. code-block:: sh + cd lib/cretonne cargo build --no-default-features --features no_std Or, when using `cretonne` as a dependency (in Cargo.toml): +.. code-block:: + [dependency.cretonne] ... default-features = false