[package]
name = "gear-core"
description = "Gear core library"
documentation = "https://docs.rs/gear-core"
keywords = ["gear", "wasm"]
categories = ["wasm"]
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
rust-version.workspace = true
[dependencies]
gear-core-errors = { workspace = true, features = ["codec"] }
gprimitives = { workspace = true, features = ["codec"] }
gsys.workspace = true
blake2.workspace = true
parity-scale-codec = { workspace = true, features = [
"derive",
"max-encoded-len",
] }
scale-info = { workspace = true, features = ["derive"] }
derive_more.workspace = true
log.workspace = true
gwasm-instrument = { workspace = true, default-features = false }
gear-wasm-instrument.workspace = true
wasmparser.workspace = true
hex = { workspace = true, features = ["alloc"] }
hashbrown.workspace = true
paste.workspace = true
enum-iterator.workspace = true
byteorder.workspace = true
num-traits.workspace = true
numerated.workspace = true
primitive-types = { workspace = true, features = ["scale-info"] }
serde = { workspace = true, features = ["derive"], optional = true }
impl-serde = { workspace = true, optional = true }
[dev-dependencies]
wabt.workspace = true
env_logger.workspace = true
proptest.workspace = true
rand = { workspace = true, features = ["std", "std_rng"] }
numerated = { workspace = true, features = ["mock"] }
[features]
default = []
strict = []
std = [
"serde/std",
"dep:impl-serde",
"wasmparser/std",
"gear-core-errors/serde",
"gprimitives/serde",
]