gear-common 2.0.0

Gear common library for the runtime
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.91"
name = "gear-common"
version = "2.0.0"
authors = ["Gear Technologies"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Gear common library for the runtime"
homepage = "https://gear-tech.io"
documentation = "https://docs.rs/gear-common"
readme = false
keywords = [
    "gear",
    "wasm",
]
categories = ["wasm"]
license = "GPL-3.0"
repository = "https://github.com/gear-tech/gear"

[features]
default = ["std"]
runtime-benchmarks = [
    "frame-benchmarking",
    "frame-system/runtime-benchmarks",
    "frame-support/runtime-benchmarks",
    "gear-wasm-instrument",
]
std = [
    "sp-core/std",
    "sp-runtime/std",
    "sp-std/std",
    "sp-io/std",
    "sp-arithmetic/std",
    "frame-support/std",
    "frame-system/std",
    "frame-benchmarking/std",
    "primitive-types/std",
    "gear-wasm-instrument?/std",
]

[lib]
name = "gear_common"
path = "src/lib.rs"

[dependencies.enum-iterator]
version = "1.5.0"

[dependencies.frame-benchmarking]
version = "38.0.0"
optional = true
default-features = false

[dependencies.frame-support]
version = "38.0.0"
default-features = false

[dependencies.frame-system]
version = "38.0.0"
optional = true
default-features = false

[dependencies.gear-common-codegen]
version = "=2.0.0"

[dependencies.gear-core]
version = "=2.0.0"
default-features = false

[dependencies.gear-wasm-instrument]
version = "=2.0.0"
optional = true
default-features = false

[dependencies.gear-workspace-hack]
version = "0.1.0"

[dependencies.gsys]
version = "=2.0.0"

[dependencies.log]
version = "0.4.22"
default-features = false

[dependencies.primitive-types]
version = "0.12.2"
features = ["scale-info"]
default-features = false

[dependencies.scale-decode]
version = "0.16.0"

[dependencies.scale-encode]
version = "0.10.0"

[dependencies.sp-arithmetic]
version = "26.0.0"
default-features = false

[dependencies.sp-core]
version = "34.0.0"
default-features = false

[dependencies.sp-io]
version = "38.0.0"
default-features = false

[dependencies.sp-runtime]
version = "39.0.1"
default-features = false

[dependencies.sp-std]
version = "14.0.0"
default-features = false

[dev-dependencies.gear-utils]
version = "=2.0.0"

[dev-dependencies.proptest]
version = "1.5.0"

[target."cfg(fuzz)".dependencies.fail]
version = "0.5"
features = ["failpoints"]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(fuzz)",
    "cfg(loom)",
    "cfg(substrate_runtime)",
]