lute_core 0.1.1

Core implementation for the lute crate
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.88"
name = "lute_core"
version = "0.1.1"
authors = ["Kyle Chen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core implementation for the lute crate"
documentation = "https://docs.rs/lute_core"
readme = false
categories = [
    "data-structures",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/astral4/lute"

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

[features]
codegen = [
    "construct",
    "dep:databake",
    "dep:proc-macro-crate",
]
construct = [
    "dep:hashbrown",
    "dep:rand_core",
    "dep:rand_xoshiro",
]

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

[dependencies.databake]
version = "0.2"
optional = true

[dependencies.foldhash]
version = "0.2"
default-features = false

[dependencies.hashbrown]
version = "0.17"
features = ["default-hasher"]
optional = true
default-features = false

[dependencies.proc-macro-crate]
version = "3"
optional = true

[dependencies.rand_core]
version = "0.10"
optional = true
default-features = false

[dependencies.rand_xoshiro]
version = "0.8"
optional = true
default-features = false

[lints.clippy]
pedantic = "warn"

[lints.clippy.module_name_repetitions]
level = "allow"
priority = 1

[lints.rust]
async_fn_in_trait = "allow"
ffi_unwind_calls = "warn"
let_underscore_drop = "deny"
macro_use_extern_crate = "deny"
meta_variable_misuse = "deny"
missing_abi = "deny"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "forbid"
non_local_definitions = "warn"
redundant_lifetimes = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unit_bindings = "deny"
unreachable_pub = "deny"
unused_import_braces = "deny"
unused_lifetimes = "deny"
unused_macro_rules = "deny"
unused_qualifications = "deny"

[lints.rust.nonstandard_style]
level = "deny"
priority = 1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = 1

[lints.rustdoc]
redundant_explicit_links = "allow"