From 0ce7f26896a93ac8d22655c0bedb38e580cb63a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dj8yf0=CE=BCl?= Date: Mon, 9 Oct 2023 20:34:46 +0300 Subject: [PATCH] doc: specify exact version with deprecation --- docs/migration_guides/v0.10.2_to_v1.0.0_nearcore.md | 4 ++-- docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/migration_guides/v0.10.2_to_v1.0.0_nearcore.md b/docs/migration_guides/v0.10.2_to_v1.0.0_nearcore.md index ed59fa8aa..b61a04a5a 100644 --- a/docs/migration_guides/v0.10.2_to_v1.0.0_nearcore.md +++ b/docs/migration_guides/v0.10.2_to_v1.0.0_nearcore.md @@ -14,7 +14,7 @@ index f38e88411..1587f4131 100644 --- a/Cargo.toml +++ b/Cargo.toml -borsh = { version = "0.10.2", features = ["rc"] } -+borsh = { version = "1.0.0-alpha.5", features = ["derive", "rc"] } ++borsh = { version = "=1.0.0-alpha.5", features = ["derive", "rc"] } ``` ## 2. We receive a great number of deprecation warnings of `borsh::BorshSerialize::try_to_vec` method (`near-primitives-core` and other packages): @@ -413,6 +413,6 @@ diff --git a/Cargo.toml b/Cargo.toml index f38e88411..1587f4131 100644 --- a/Cargo.toml +++ b/Cargo.toml --borsh = { version = "1.0.0-alpha.5", features = ["derive", "rc"] } +-borsh = { version = "=1.0.0-alpha.5", features = ["derive", "rc"] } +borsh = { version = "1.0.0", features = ["derive", "rc"] } ``` diff --git a/docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md b/docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md index b33a491f7..fdf5c99bd 100644 --- a/docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md +++ b/docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md @@ -19,7 +19,7 @@ index a015a64..e6099d4 100644 @@ -26,3 +26,3 @@ near-sys = { path = "../near-sys", version = "0.2" } base64 = "0.13" -borsh = { version = "0.9", features = ["const-generics"] } -+borsh = { version = "1.0.0-alpha.5", features = ["derive"] } ++borsh = { version = "=1.0.0-alpha.5", features = ["derive"] } bs58 = "0.4" @@ -35,3 +35,4 @@ once_cell = { version = "1.17", default-features = false } @@ -58,3 +59,3 @@ unstable = [] @@ -578,7 +578,7 @@ index a015a64..e6099d4 100644 +++ b/near-sdk/Cargo.toml @@ -26,3 +26,3 @@ near-sys = { path = "../near-sys", version = "0.2" } base64 = "0.13" --borsh = { version = "1.0.0-alpha.5", features = ["derive"] } +-borsh = { version = "=1.0.0-alpha.5", features = ["derive"] } +borsh = { version = "1.0.0", features = ["derive"] } bs58 = "0.4" ```