carta-core 0.0.3

Shared conversion options, error types, and text/attribute helpers.
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.93"
name = "carta-core"
version = "0.0.3"
authors = ["Maximilian Krause"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared conversion options, error types, and text/attribute helpers."
homepage = "https://github.com/mfkrause/carta"
readme = "README.md"
keywords = [
    "markup",
    "document",
    "converter",
    "template",
]
categories = ["text-processing"]
license = "AGPL-3.0-only"
repository = "https://github.com/mfkrause/carta"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
container = ["dep:miniz_oxide"]
template = []

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

[dependencies.carta-ast]
version = "0.0.3"

[dependencies.miniz_oxide]
version = "0.8"
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[lints.clippy]
expect_used = "warn"
indexing_slicing = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
panic = "warn"
unwrap_used = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs)"]