Skip to content

Commit

Permalink
doc: specify exact version with deprecation (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yfo authored Oct 9, 2023
1 parent 6e7fc28 commit 49df318
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/migration_guides/v0.10.2_to_v1.0.0_nearcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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"] }
```
4 changes: 2 additions & 2 deletions docs/migration_guides/v0.9_to_v1.0.0_near_sdk_rs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down Expand Up @@ -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"
```
Expand Down

0 comments on commit 49df318

Please sign in to comment.