-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #405 from Concordium/state-btree-map
Implement ordered maps for smart contracts
- Loading branch information
Showing
24 changed files
with
2,904 additions
and
536 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
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "concordium-std" | |
version = "10.0.0" | ||
authors = ["Concordium <[email protected]>"] | ||
edition = "2021" | ||
rust-version = "1.66" | ||
rust-version = "1.73" | ||
license = "MPL-2.0" | ||
description = "A standard library for writing smart contracts for the Concordium blockchain in Rust." | ||
homepage = "https://github.com/Concordium/concordium-rust-smart-contracts/" | ||
|
@@ -29,6 +29,9 @@ features = ["smart-contract"] | |
default = ["std"] | ||
std = ["concordium-contracts-common/std"] | ||
wasm-test = ["concordium-contracts-common/wasm-test"] | ||
# Own internal wasm-tests leak out to the smart contracts using this library, | ||
# so a separate feature 'internal-wasm-test' is introduced for these. | ||
internal-wasm-test = ["wasm-test", "concordium-quickcheck"] | ||
build-schema = ["concordium-contracts-common/build-schema"] | ||
crypto-primitives = ["sha2", "sha3", "secp256k1", "ed25519-zebra"] | ||
concordium-quickcheck = ["getrandom", "quickcheck", "concordium-contracts-common/concordium-quickcheck", "std"] | ||
|
@@ -38,7 +41,8 @@ bump_alloc = [] | |
p7 = [] | ||
|
||
[lib] | ||
crate-type = ["rlib"] | ||
# cdylib is needed below to compile into a wasm module with internal unit tests. | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
[profile.release] | ||
# Tell `rustc` to optimize for small code size. | ||
|
Oops, something went wrong.