From 1b45b76197520a41015633a6ba7a9549f8590f32 Mon Sep 17 00:00:00 2001 From: Lachezar Lechev Date: Wed, 11 Dec 2024 15:45:15 +0200 Subject: [PATCH 1/2] chore(stremio-core-web): enable serde_json preserve_order features: - chore(core): msrv to 1.71 Signed-off-by: Lachezar Lechev --- Cargo.lock | 1 + Cargo.toml | 2 +- stremio-core-web/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 025783dad..fcd17404e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1000,6 +1000,7 @@ version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" dependencies = [ + "indexmap 2.5.0", "itoa", "memchr", "ryu", diff --git a/Cargo.toml b/Cargo.toml index fac250f0d..930ce8a63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Smart Code OOD"] edition = "2021" # When upgrading MSRV make sure to update the msrv.yaml workflow -rust-version = "1.70" +rust-version = "1.71" [profile.release] lto = true diff --git a/stremio-core-web/Cargo.toml b/stremio-core-web/Cargo.toml index 09d2ee243..86aa918ce 100644 --- a/stremio-core-web/Cargo.toml +++ b/stremio-core-web/Cargo.toml @@ -24,7 +24,7 @@ log-trace = [] stremio-core = { version = "0.1", features = ["derive", "analytics"], path = "../" } serde = { version = "1.0.*", features = ["derive"] } -serde_json = "1.0.*" +serde_json = { version = "1", features = ["preserve_order"] } futures = "0.3.*" # used for Env impl From 7785eddec9ddd43bcf4edfb8f5793ebb82997038 Mon Sep 17 00:00:00 2001 From: Lachezar Lechev Date: Wed, 11 Dec 2024 15:46:56 +0200 Subject: [PATCH 2/2] ci: msrv for core to 1.71 Signed-off-by: Lachezar Lechev --- .github/workflows/msrv.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 1808c52e4..61a1533f4 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -16,7 +16,7 @@ concurrency: cancel-in-progress: true env: - RUST_MSRV_VERSION: '1.70' + RUST_MSRV_VERSION: '1.71' jobs: build: