diff --git a/docs/snakefiles/rules.rst b/docs/snakefiles/rules.rst index 8d086a835..6be2b2eda 100644 --- a/docs/snakefiles/rules.rst +++ b/docs/snakefiles/rules.rst @@ -744,10 +744,11 @@ Rust_ script: "path/to/script.rs" -The ability to execute Rust scripts is facilitated by |rust-script|_. As such, the -script must be a valid ``rust-script`` script and ``rust-script`` must be available in the -environment the rule is run in. -The minimum required ``rust-script`` version is `1.15.0`, so in the example above, the contents of ``rust.yaml`` might look like this: +The ability to execute Rust scripts is facilitated by |rust-script|_. +As such, the script must be a valid ``rust-script`` script and ``rust-script`` +(plus OpenSSL and a C compiler toolchain, provided by Conda packages ``openssl``, ``c-compiler``, ``pkg-config``) +must be available in the environment the rule is run in. +The minimum required ``rust-script`` version is 1.15.0, so in the example above, the contents of ``rust.yaml`` might look like this: .. code block:: yaml @@ -756,6 +757,9 @@ The minimum required ``rust-script`` version is `1.15.0`, so in the example abov - bioconda dependencies: - rust-script>=0.15.0 + - openssl + - c-compiler + - pkg-config diff --git a/tests/test_conda/test-env.yaml b/tests/test_conda/test-env.yaml index 51e322434..8a4213ddb 100644 --- a/tests/test_conda/test-env.yaml +++ b/tests/test_conda/test-env.yaml @@ -3,3 +3,4 @@ channels: - conda-forge dependencies: - melt ==1.0.3 + - python <3.10 diff --git a/tests/test_script/envs/rust.yaml b/tests/test_script/envs/rust.yaml index 1cb4c5bb4..644d65705 100644 --- a/tests/test_script/envs/rust.yaml +++ b/tests/test_script/envs/rust.yaml @@ -3,3 +3,6 @@ channels: - bioconda dependencies: - rust-script>=0.15.0 + - openssl + - c-compiler + - pkg-config