[dependencies.annotate-snippets]
optional = true
version = "0.9.1"
[dependencies.ariadne]
optional = true
version = "0.6.0"
[dependencies.codespan-reporting]
default-features = false
features = ["termcolor"]
optional = true
version = "0.13.1"
[dependencies.miette]
default-features = false
optional = true
version = "7.6.0"
[dependencies.stringzilla]
version = "4.4.2"
[features]
annotate-snippets = ["dep:annotate-snippets"]
ariadne = ["dep:ariadne"]
codespan-reporting = ["dep:codespan-reporting"]
miette = ["dep:miette"]
[lib]
name = "error_enum_core"
path = "src/lib.rs"
[lints.clippy]
expect_used = "deny"
needless_doctest_main = "allow"
panic = "deny"
todo = "deny"
unwrap_in_result = "deny"
unwrap_used = "deny"
[lints.clippy.cargo]
level = "deny"
priority = 1
[lints.rust]
missing_docs = "deny"
private_interfaces = "deny"
unreachable_pub = "warn"
[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
invalid_html_tags = "deny"
invalid_rust_codeblocks = "deny"
unescaped_backticks = "deny"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["development-tools"]
description = "Provide a easy way to define an enum that represents errors with error codes, document comments and several other functionalities."
edition = "2021"
keywords = ["error", "derive", "enum", "tree"]
license = "MIT/Apache-2.0"
name = "error-enum-core"
readme = "readme.md"
repository = "https://github.com/TheVeryDarkness/error-enum"
resolver = "3"
version = "1.0.0-alpha.4"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "indexer"
path = "tests/indexer.rs"