-
Notifications
You must be signed in to change notification settings - Fork 27
/
Cargo.toml
45 lines (37 loc) · 1.59 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[workspace]
[package]
name = "cw-storage-plus"
version = "2.0.0"
authors = ["Ethan Frey <[email protected]>"]
edition = "2021"
description = "Enhanced storage engines"
license = "Apache-2.0"
repository = "https://github.com/CosmWasm/cw-storage-plus"
homepage = "https://cosmwasm.com"
[package.metadata.docs.rs]
all-features = true # include macro feature when building docs
[features]
default = ["iterator"]
iterator = ["cosmwasm-std/iterator"]
macro = ["cw-storage-macro"]
[lib]
# See https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
bench = false
[dependencies]
cosmwasm-std = { version = "2.0.0", default-features = false, features = ["std"] }
schemars = "0.8.3"
serde = { version = "1.0", default-features = false, features = ["derive"] }
cw-storage-macro = { version = "2.0.0", optional = true, path = "macros" }
[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
# Deactivate default features in order to be able to use this on systems without
# access to an entropy souce via getrandom such as wasm32-unknown-unknown
rand = { version = "0.8", default-features = false }
rand_xoshiro = { version = "0.6.0", default-features = false }
# We don't use the following dependencies directly. They're dependencies of our dependencies.
# We specify them to tighten their version requirements so that builds with `-Zminimal-versions` work.
# https://github.com/GREsau/schemars/pull/192 is merged, we can update schemars and release this.
serde_json = "1.0.29"
[[bench]]
name = "main"
harness = false