# 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"
version = "1.1.2"
authors = ["ookatu <hgfhgfojgljgjhdiopyfgiiiiiu@outlook.com>"]
build = false
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]
alloc = [
    "iart-core/alloc",
    "iart-macros/alloc",
]
allow-backtrace-logging = ["iart-core/allow-backtrace-logging"]
allow-backtrace-logging-with-ok = [
    "allow-backtrace-logging",
    "iart-core/allow-backtrace-logging-with-ok",
]
check-unused-result = ["iart-core/check-unused-result"]
check-unused-result-with-ok = [
    "check-unused-result",
    "iart-core/check-unused-result-with-ok",
]
core_error-support = ["iart-core/core_error-support"]
danger-allow-panic-if-unused = [
    "check-unused-result-with-ok",
    "iart-core/danger-allow-panic-if-unused",
]
default = [
    "std",
    "allow-backtrace-logging",
    "check-unused-result",
    "enable-default-handler",
]
enable-default-handler = [
    "iart-core/enable-default-handler",
    "std",
]
error-can-have-item = ["iart-core/error-can-have-item"]
for-nightly-allocator-api-support = [
    "iart-core/for-nightly-allocator-api-support",
    "iart-macros/for-nightly-allocator-api-support",
    "alloc",
]
for-nightly-error-generic-member-access = ["iart-core/for-nightly-error-generic-member-access"]
for-nightly-likely-optimization = ["iart-core/for-nightly-likely-optimization"]
for-nightly-try-support = [
    "iart-core/for-nightly-try-support",
    "iart-macros/for-nightly-try-support",
]
nightly = [
    "for-nightly-likely-optimization",
    "for-nightly-try-support",
    "for-nightly-allocator-api-support",
    "for-nightly-error-generic-member-access",
]
no-trace-dedup = ["iart-core/no-trace-dedup"]
std = [
    "iart-core/std",
    "alloc",
]

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

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[dependencies.iart-core]
version = "1.1.2"
default-features = false

[dependencies.iart-macros]
version = "1.1.2"
default-features = false
