Skip to content

Commit a4dd7ba

Browse files
authored
Update the installation description for wasmedge_rustls_plugin (#176)
* Update the installation description for `wasmedge_rustls_plugin` Starting with WasmEdge v0.13.4, the `wasmedge_rustls_plugin` has been bundled within the WasmEdge core (ref: https://github.com/WasmEdge/WasmEdge/releases/tag/0.13.4). Therefore, this patch modifies the installation instructions for rustls_plugin to indicate that it should be retrieved from the `WasmEdge/WasmEdge` repository, rather than from the `second-state/wasmedge_rustls_plugin`. Signed-off-by: moznion <moznion@mail.moznion.net> * Fix the wasmedge_rustls_plugin installation description with sudo Signed-off-by: moznion <moznion@mail.moznion.net> --------- Signed-off-by: moznion <moznion@mail.moznion.net>
1 parent 80b2a5f commit a4dd7ba

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/start/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ WasmEdge uses plug-ins to extend its functionality. If you want to use more of W
128128
The WasmEdge TLS plug-in utilizes the native OpenSSL library to support HTTPS and TLS requests from WasmEdge sockets. To install the WasmEdge TLS plug-in on Linux, run the following commands after you have installed WasmEdge.
129129

130130
```bash
131-
wget https://github.com/second-state/wasmedge_rustls_plugin/releases/download/0.2.0/wasmedge_rustls_plugin_ubuntu-20.04.zip
132-
unzip wasmedge_rustls_plugin_ubuntu-20.04.zip
131+
wget https://github.com/WasmEdge/WasmEdge/releases/download/0.13.4/WasmEdge-plugin-wasmedge_rustls-0.13.4-manylinux2014_x86_64.tar.gz
132+
tar xf WasmEdge-plugin-wasmedge_rustls-0.13.4-manylinux2014_x86_64.tar.gz
133133

134134
# If you only installed WasmEdge for the local user
135-
cp target/release/libwasmedge_rustls.so ~/.wasmedge/plugin/
135+
cp libwasmedge_rustls.so ~/.wasmedge/plugin/
136136

137137
# If you installed Wasmedge at /usr/local for all users
138138
sudo mkdir -p /usr/local/lib/wasmedge/
139-
sudo cp target/release/libwasmedge_rustls.so /usr/local/lib/wasmedge/
139+
sudo cp libwasmedge_rustls.so /usr/local/lib/wasmedge/
140140
```
141141

142142
Then, go to [HTTPS request in Rust chapter](../develop/rust/http_service/client.md) to see how to run HTTPs services with Rust.

i18n/zh/docusaurus-plugin-content-docs/current/start/install.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ WasmEdge uses plug-ins to extend its functionality. If you want to use more of W
128128
The WasmEdge TLS plug-in utilizes the native OpenSSL library to support HTTPS and TLS requests from WasmEdge sockets. To install the WasmEdge TLS plug-in on Linux, run the following commands after you have installed WasmEdge.
129129

130130
```bash
131-
wget https://github.com/second-state/wasmedge_rustls_plugin/releases/download/0.2.0/wasmedge_rustls_plugin_ubuntu-20.04.zip
132-
unzip wasmedge_rustls_plugin_ubuntu-20.04.zip
131+
wget https://github.com/WasmEdge/WasmEdge/releases/download/0.13.4/WasmEdge-plugin-wasmedge_rustls-0.13.4-manylinux2014_x86_64.tar.gz
132+
tar xf WasmEdge-plugin-wasmedge_rustls-0.13.4-manylinux2014_x86_64.tar.gz
133133

134134
# If you only installed WasmEdge for the local user
135-
cp target/release/libwasmedge_rustls.so ~/.wasmedge/plugin/
135+
cp libwasmedge_rustls.so ~/.wasmedge/plugin/
136136

137137
# If you installed Wasmedge at /usr/local for all users
138138
sudo mkdir -p /usr/local/lib/wasmedge/
139-
sudo cp target/release/libwasmedge_rustls.so /usr/local/lib/wasmedge/
139+
sudo cp libwasmedge_rustls.so /usr/local/lib/wasmedge/
140140
```
141141

142142
Then, go to [HTTPS request in Rust chapter](../develop/rust/http_service/client.md) to see how to run HTTPs services with Rust.

0 commit comments

Comments
 (0)