# 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-core-errors"
version = "2.0.0-pre.1"
authors = ["Gear Technologies"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared errors for Gear core libraries"
homepage = "https://gear-tech.io"
documentation = "https://docs.rs/gear-core-errors"
readme = false
keywords = [
    "gear",
    "errors",
    "protocol",
    "runtime",
    "no-std",
]
categories = [
    "no-std",
    "rust-patterns",
]
license = "GPL-3.0"
repository = "https://github.com/gear-tech/gear"

[features]
codec = [
    "parity-scale-codec",
    "scale-info",
    "scale-encode",
    "scale-decode",
]
serde = ["dep:serde"]

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

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

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

[dependencies.parity-scale-codec]
version = "3.7.5"
features = ["derive"]
optional = true
default-features = false

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

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

[dependencies.scale-info]
version = "2.11"
features = ["derive"]
optional = true
default-features = false

[dependencies.serde]
version = "^1"
features = ["derive"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.12"
default-features = false
