# 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"
name = "iart-core"
version = "0.1.2"
authors = ["ookatu <hgfhgfojgljgjhdiopyfgiiiiiu@outlook.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The Infomation and Result Trace crate"
readme = "README.md"
keywords = [
    "error-handling",
    "no-std",
    "tracing",
    "diagnostics",
]
categories = [
    "rust-patterns",
    "no-std",
    "development-tools::debugging",
]
license = "Apache-2.0"
repository = "https://github.com/ookatuk/Iart"

[features]
allow-backtrace-logging = []
allow-backtrace-logging-with-ok = ["allow-backtrace-logging"]
check-unused-result = []
check-unused-result-with-ok = ["check-unused-result"]
core_error-support = ["core-error"]
danger-allow-panic-if-unused = ["check-unused-result-with-ok"]
default = [
    "std",
    "allow-backtrace-logging",
    "check-unused-result",
    "enable-default-handler",
]
enable-default-handler = ["std"]
error-can-have-item = []
for-nightly-error-generic-member-access = []
for-nightly-likely-optimization = []
for-nightly-try-support = []
nightly = [
    "for-nightly-likely-optimization",
    "for-nightly-try-support",
    "for-nightly-error-generic-member-access",
]
no-trace-dedup = []
std = ["core-error/std"]

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

[dependencies.core-error]
version = "^0.0"
optional = true
default-features = false

[dev-dependencies.spin]
version = "^0.10"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ['cfg(feature, values("for-nightly-allocator-api-support"))']
