Skip to content

Commit

Permalink
chore: borsh version update
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Aug 29, 2023
1 parent a33be41 commit f96ebea
Show file tree
Hide file tree
Showing 84 changed files with 1,623 additions and 283 deletions.
5 changes: 5 additions & 0 deletions ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ else

cargo generate-lockfile

### this is section for packages, refusing to work with 1.69
cargo update -p clap@4.4.0 --precise 4.3.24
cargo update -p clap_lex@0.5.1 --precise 0.5.0
### end of 1.69 threshold section

cp Cargo.toml{,.bak}
cp Cargo.lock{,.bak}

Expand Down
150 changes: 137 additions & 13 deletions examples/adder/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion examples/adder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ crate-type = ["cdylib"]
[dependencies]
near-sdk = { path = "../../near-sdk", features = ["unstable"] }
serde = { version = "1", features = ["derive"] }
borsh = { version = "1.0.0-alpha.3", features = ["derive"] }
schemars = "0.8"

[dev-dependencies]
workspaces = "0.7.0"
serde_json = "1.0"
tokio = { version = "1.14", features = ["full"] }
anyhow = "1.0"
near-abi = "0.3.0"
near-abi = { version = "0.3.0", git = "https://github.com/dj8yfo/near-abi-rs.git", branch = "borsh_update" }
zstd = "0.11"

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion examples/adder/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize};
use near_sdk::borsh::{BorshDeserialize, BorshSerialize};
use near_sdk::serde::{Deserialize, Serialize};
use near_sdk::{near_bindgen, NearSchema};

Expand Down
Loading

0 comments on commit f96ebea

Please sign in to comment.