-
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.
Normalize & update dependencies (#131)
* fix: remove external serde* deps; use near_sdk-provided serde* instead * chore: use workspace dependencies for everything * chore: upgrade strum deps * chore: loosen version requirements * chore: remove unused dependencies * feat: nextest * chore: use nextest in GH actions * fix: gh actions syntax * feat: use caching in ghaction
- Loading branch information
Showing
21 changed files
with
148 additions
and
75 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,33 +1,50 @@ | ||
[package] | ||
authors = ["Jacob Lindahl <[email protected]>"] | ||
authors.workspace = true | ||
categories = ["wasm", "cryptography::cryptocurrencies"] | ||
description = """ | ||
Helpful functions and macros for developing smart contracts on NEAR Protocol. | ||
""" | ||
documentation = "https://docs.rs/near-sdk-contract-tools" | ||
edition = "2021" | ||
edition.workspace = true | ||
exclude = ["documents/"] | ||
license = "GPL-3.0" | ||
license.workspace = true | ||
name = "near-sdk-contract-tools" | ||
repository.workspace = true | ||
version.workspace = true | ||
|
||
[workspace] | ||
members = [".", "macros", "workspaces-tests", "workspaces-tests-utils"] | ||
|
||
[workspace.package] | ||
authors = ["Jacob Lindahl <[email protected]>"] | ||
edition = "2021" | ||
license = "GPL-3.0" | ||
repository = "https://github.com/near/near-sdk-contract-tools" | ||
version = "1.1.0" | ||
|
||
[workspace.dependencies] | ||
# normal dependencies | ||
near-sdk = { version = "4.1.1", default-features = false } | ||
near-sdk-contract-tools-macros = { version = "=1.1.0", path = "./macros" } | ||
serde = "1.0.144" | ||
serde_json = "1.0.85" | ||
thiserror = "1.0.35" | ||
thiserror = "1" | ||
|
||
darling = "0.20" | ||
heck = "0.4" | ||
proc-macro2 = "1" | ||
quote = "1.0" | ||
strum = "0.25" | ||
strum_macros = "0.25" | ||
syn = "2.0" | ||
|
||
# dev-dependencies | ||
pretty_assertions = "1.4.0" | ||
near-crypto = "0.15" | ||
near-workspaces = "0.8" | ||
pretty_assertions = "1" | ||
tokio = "1" | ||
|
||
[dependencies] | ||
near-sdk.workspace = true | ||
near-sdk-contract-tools-macros.workspace = true | ||
serde.workspace = true | ||
serde_json.workspace = true | ||
thiserror.workspace = true | ||
|
||
[dev-dependencies] | ||
|
@@ -43,9 +60,6 @@ unstable = ["near-sdk/unstable"] | |
all-features = true | ||
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[workspace] | ||
members = [".", "macros", "workspaces-tests", "workspaces-tests-utils"] | ||
|
||
[profile.release] | ||
codegen-units = 1 | ||
debug = false | ||
|
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,25 +1,24 @@ | ||
[package] | ||
authors = ["Jacob Lindahl <[email protected]>"] | ||
authors.workspace = true | ||
categories = ["wasm"] | ||
description = """ | ||
Macros for `near-sdk-contract-tools` | ||
""" | ||
edition = "2021" | ||
license = "GPL-3.0" | ||
documentation = "https://docs.rs/near-sdk-contract-tools-macros" | ||
edition.workspace = true | ||
license.workspace = true | ||
name = "near-sdk-contract-tools-macros" | ||
version = "1.1.0" | ||
repository.workspace = true | ||
version.workspace = true | ||
|
||
[dependencies] | ||
base64 = "0.13.0" | ||
darling = "0.14.1" | ||
heck = "0.4.0" | ||
once_cell = "1.16.0" | ||
proc-macro2 = "1.0.43" | ||
quote = "1.0.21" | ||
regex = "1.6.0" | ||
strum = "0.24.1" | ||
strum_macros = "0.24.3" | ||
syn = "1.0.99" | ||
darling.workspace = true | ||
heck.workspace = true | ||
proc-macro2.workspace = true | ||
quote.workspace = true | ||
strum.workspace = true | ||
strum_macros.workspace = true | ||
syn.workspace = true | ||
|
||
[lib] | ||
proc-macro = true |
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.