From 56f919811e41603e0353a45d6a0c4da9a1449004 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 10 Dec 2023 17:51:14 +0100 Subject: [PATCH] bindings/rust/README.md: minor update. --- bindings/rust/Cargo.toml | 6 ++++++ bindings/rust/README.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bindings/rust/Cargo.toml b/bindings/rust/Cargo.toml index 3d75a79c..ce6ba53e 100644 --- a/bindings/rust/Cargo.toml +++ b/bindings/rust/Cargo.toml @@ -55,6 +55,12 @@ threadpool = "^1.8.1" rand = "0.8" rand_chacha = "0.3" rmp-serde = "1.1.1" +# Uncomment if you want to execute the test suite with Rust 1.56 through 1.64. +#csv = "=1.1.6" +#byteorder = "=1.4.3" +#regex = "=1.7.3" +#rayon = "=1.6.1" +#rayon-core = "=1.10.1" [target.'cfg(any(unix, windows))'.dev-dependencies] criterion = "0.3" diff --git a/bindings/rust/README.md b/bindings/rust/README.md index e38c9480..b6402705 100644 --- a/bindings/rust/README.md +++ b/bindings/rust/README.md @@ -16,7 +16,7 @@ If the target application crashes with an "illegal instruction" exception [after To compile for WebAssembly, your clang has to recognize `--target=wasm32`. Alternatively you can build your project with `CC` environment variable set to `emcc`, the [Emscripten compiler](https://emscripten.org), and `AR` set to `emar`, naturally, with both commands available on your `PATH`. -While `cargo test`'s dependencies happen to require at least Rust 1.65, the library by itself can be compiled with earlier compiler versions. Though in order to use Rust version prior 1.56 you would need to pin`zeroize` to "=1.3.0" and `zeroize_derive` to "=1.3.3" in **your** project Cargo.toml. And if you find yourself with Rust 1.56 through 1.64 as the only option and want to execute `cargo test` you'd need to pin some of `[dev-dependencies]` versions in **this** project's Cargo.toml: +While `cargo test`'s dependencies happen to require at least Rust 1.65, the library by itself can be compiled with earlier compiler versions. Though in order to use Rust version prior 1.56 you would need to pin`zeroize` to "=1.3.0" and `zeroize_derive` to "=1.3.3" in **your** project Cargo.toml. Even `cc` might require pinning to "=1.0.79". And if you find yourself with Rust 1.56 through 1.64 as the only option and want to execute `cargo test` you'd need to pin some of `[dev-dependencies]` versions in **this** project's Cargo.toml by uncommenting following lines: ``` csv = "=1.1.6"