Skip to content

Commit

Permalink
Update archives sha, and bump crates versions
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Prendes <[email protected]>
  • Loading branch information
jprendes committed Jul 12, 2024
1 parent 1046ba1 commit 4c4c561
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
name = "wasmedge-sdk"
readme = "README.md"
repository = "https://github.com/WasmEdge/wasmedge-rust-sdk"
version = "0.14.0"
version = "0.14.1"

[dependencies]
anyhow = "1.0"
Expand All @@ -17,7 +17,7 @@ num-derive = "0.3"
num-traits = "0.2"
thiserror = "1.0.30"
wasmedge-macro.workspace = true
wasmedge-sys = { path = "crates/wasmedge-sys", version = "0.19.0", default-features = false }
wasmedge-sys = { path = "crates/wasmedge-sys", version = "0.19.2", default-features = false }
wasmedge-types.workspace = true

[workspace.dependencies]
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ This crate depends on the WasmEdge C API. In linux/macOS the crate can download

| wasmedge-sdk | WasmEdge lib | wasmedge-sys | wasmedge-types| wasmedge-macro| async-wasi|
| :-----------: | :-----------: | :-----------: | :-----------: | :-----------: | :-------: |
| 0.14.1 | 0.14.0 | 0.19.2 | 0.6.0 | 0.6.1 | 0.2.0 |
| 0.14.0 | 0.14.0 | 0.19.0 | 0.6.0 | 0.6.1 | 0.2.0 |
| 0.13.5-newapi | 0.13.5 | 0.18.0 | 0.5.0 | 0.6.1 | 0.2.0 |
| 0.13.2 | 0.13.5 | 0.17.5 | 0.4.4 | 0.6.1 | 0.1.0 |
| 0.13.1 | 0.13.5 | 0.17.4 | 0.4.4 | 0.6.1 | 0.1.0 |
Expand Down
2 changes: 1 addition & 1 deletion crates/wasmedge-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ links = "wasmedge"
name = "wasmedge-sys"
readme = "README.md"
repository = "https://github.com/WasmEdge/wasmedge-rust-sdk"
version = "0.19.1"
version = "0.19.2"

[dependencies]
log = "0.4"
Expand Down
18 changes: 9 additions & 9 deletions crates/wasmedge-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use build_standalone::*;

use crate::build_paths::AsPath;

const WASMEDGE_RELEASE_VERSION: &str = "0.13.5";
const WASMEDGE_RELEASE_VERSION: &str = "0.14.0";
const REMOTE_ARCHIVES: phf::Map<&'static str, (&'static str, &'static str)> = phf_map! {
// The key is: {os}/{arch}[/{libc}][/static]
// * The libc abi is only added on linux.
Expand All @@ -18,14 +18,14 @@ const REMOTE_ARCHIVES: phf::Map<&'static str, (&'static str, &'static str)> = ph
// The value is a tuple containing the sha256sum of the archive, and the platform slug as it appears in the archive name:
// * The archive name is WasmEdge-{version}-{slug}.tar.gz

"macos/aarch64" => ("acc93721210294ced0887352f360e42e46dcc05332e6dd78c1452fb3a35d5255", "darwin_arm64"),
"macos/x86_64" => ("b7fdfaf59805951241f47690917b501ddfa06d9b6f7e0262e44e784efe4a7b33", "darwin_x86_64"),
"linux/aarch64/gnu" => ("472de88e0257c539c120b33fdd1805e1e95063121acc2df1d5626e4676b93529", "manylinux2014_aarch64"),
"linux/x86_64/gnu" => ("3686e0226871bf17b62ec57e1c15778c2947834b90af0dfad14f2e0202bf9284", "manylinux2014_x86_64"),
"linux/aarch64/gnu/static" => ("a8a355a7cebf65d4134593e0c2f5af0721798efcd257cf8a18dfd8775c2d0b30", "debian11_aarch64_static"),
"linux/x86_64/gnu/static" => ("57ec3d36ee58488d4bb798f7517fce15be81fb4e113a5e1804bca34600b1ade3", "debian11_x86_64_static"),
"linux/aarch64/musl/static" => ("0670afb18aad8fb54a72829d5c14e68e631a66fd3b468516a15a0826f2c5dd9e", "alpine3.16_aarch64_static"),
"linux/x86_64/musl/static" => ("6ef5be580febb09218caca87f2d73e7c830fb98239ec02a2994617aaed9e7bd9", "alpine3.16_x86_64_static"),
"macos/aarch64" => ("4f2f34545a97768e28700099ac9cbb18e7b434779d237de860324de400922546", "darwin_arm64"),
"macos/x86_64" => ("03c5d77be63ecad54ed33a1885f170bc854246ed8f9ae8e366b114bc8c0c2422", "darwin_x86_64"),
"linux/aarch64/gnu" => ("6136c42066cdd9a96170285af2613dc00f262f5758a03d7afb3ab12a36363c79", "manylinux2014_aarch64"),
"linux/x86_64/gnu" => ("73b3892f94c143dc09d53415c6848bb8e87206a1f614fd0edfc89957a0f1b027", "manylinux2014_x86_64"),
"linux/aarch64/gnu/static" => ("ca054e27cd253a91850641919e7911ec967b9eee6b83bc1c66ae6ed537d992d7", "debian11_aarch64_static"),
"linux/x86_64/gnu/static" => ("fd8829abdc471f13e8fbbe75630e30a498773ebe620af425cf153d7e2b2cabbf", "debian11_x86_64_static"),
"linux/aarch64/musl/static" => ("67365eeaaa7d8a4da4180b88ac33650e09df5e8ce84e8386bca9c38682ab21ef", "alpine3.16_aarch64_static"),
"linux/x86_64/musl/static" => ("cc9de0d11fa105c990a73db9e7076a986e9850dbd9f7e01fbc3a4ad01c739c8b", "alpine3.16_x86_64_static"),
};

lazy_static! {
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
//!
//! | wasmedge-sdk | WasmEdge lib | wasmedge-sys | wasmedge-types| wasmedge-macro| async-wasi|
//! | :-----------: | :-----------: | :-----------: | :-----------: | :-----------: | :-------: |
//! | 0.14.1 | 0.14.0 | 0.19.2 | 0.6.0 | 0.6.1 | 0.2.0 |
//! | 0.14.0 | 0.14.0 | 0.19.0 | 0.6.0 | 0.6.1 | 0.2.0 |
//! | 0.13.5-newapi | 0.13.5 | 0.18.0 | 0.5.0 | 0.6.1 | 0.2.0 |
//! | 0.13.2 | 0.13.5 | 0.17.5 | 0.4.4 | 0.6.1 | 0.1.0 |
//! | 0.13.1 | 0.13.5 | 0.17.4 | 0.4.4 | 0.6.1 | 0.1.0 |
//! | 0.13.0 | 0.13.5 | 0.17.3 | 0.4.4 | 0.6.1 | 0.1.0 |
Expand Down

0 comments on commit 4c4c561

Please sign in to comment.