-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: bump near-sdk to 5.1.0 * fix: access_controllable * fix(tests): borsh usage * fix: use LookupMap where iteration isn't needed * chore: make clippy happy * Update test.yml * fix: do not gitignore Cargo.lock * chore: bump msrv * chore: bump rust in contracts for tests * chore: decrease gas * fix: rm Cargo.lock from lib crates * fix: bring UnorderedMap back * fix: use #[near] instead of #[near_bindgen] * fix: bump version in separate PR * fix(tests): gas consumption is slightly bigger now * fix: #[allow(deprecated)] on UnorderedMap/UnorderedSet * fix: #[allow(depreated)] attributes syntax * docs: comment on deprecated collections from near_sdk::store * fix: use FQDNs for #[derive(...)] in macros * fix: use FQDNs everywhere in quote!{...} --------- Co-authored-by: Oleksandr Anyshchenko <[email protected]>
- Loading branch information
1 parent
a852ce8
commit 12d3fee
Showing
33 changed files
with
156 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/target | ||
Cargo.lock | ||
**/Cargo.lock | ||
near-plugins-derive/tests/contracts/*/target | ||
|
||
# Ignore IDE data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
[workspace] | ||
members = [ | ||
"near-plugins", | ||
"near-plugins-derive" | ||
] | ||
members = ["near-plugins", "near-plugins-derive"] | ||
exclude = ["target", "examples"] | ||
resolver = "2" | ||
|
||
[workspace.metadata.workspaces] | ||
version = "0.15.0" | ||
|
@@ -15,7 +13,7 @@ authors = ["Aurora Labs <[email protected]>"] | |
# An update of the MSRV requires updating: | ||
# - `rust-toolchain` files in `near-plugins-derive/tests/contracts/**` | ||
# - the toolchain installed in CI via the `toolchain` parameter of `actions-rs/toolchain@v1` | ||
rust-version = "1.69.0" | ||
rust-version = "1.74.0" | ||
description = "Ergonomic plugin system to extend NEAR contracts." | ||
license = "CC0-1.0" | ||
readme = "README.md" | ||
|
@@ -25,21 +23,16 @@ keywords = ["near", "smart contract", "plugin"] | |
|
||
[workspace.dependencies] | ||
bitflags = "1.3" | ||
near-sdk = "4.1.1" | ||
near-sdk = "5.1.0" | ||
near-plugins = { path = "near-plugins" } | ||
near-plugins-derive = { path = "near-plugins-derive" } | ||
serde = "1" | ||
anyhow = "1.0" | ||
tokio = { version = "1", features = ["full"] } | ||
near-workspaces = "0.9" | ||
near-workspaces = "0.10" | ||
toml = "0.5" | ||
darling = "0.13.1" | ||
proc-macro2 = "1.0" | ||
quote = "1.0.9" | ||
syn = { version = "1.0.69", features = ["full"] } | ||
proc-macro-crate = "0.1.5" | ||
|
||
# Required to build tests with near-sdk v4.1.1, see #128. | ||
# TODO(#125): Remove after upgrading to near-sdk v5. | ||
[patch.crates-io] | ||
parity-secp256k1 = {git = "https://github.com/paritytech/rust-secp256k1", tag = "parity-secp256k1-v0.7.0"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.