aozora-encoding 0.4.1

Aozora Bunko notation: Shift_JIS decoding and gaiji (外字) resolution. Internal crate; depend on the aozora umbrella crate instead.
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.95.0"
name = "aozora-encoding"
version = "0.4.1"
authors = ["aozora contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Aozora Bunko notation: Shift_JIS decoding and gaiji (外字) resolution. Internal crate; depend on the aozora umbrella crate instead."
readme = "README.md"
keywords = [
    "aozora",
    "japanese",
    "typography",
    "parser",
    "ruby",
]
categories = [
    "parser-implementations",
    "text-processing",
    "localization",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/P4suta/aozora"

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

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

[[test]]
name = "fuzz_regressions"
path = "tests/fuzz_regressions.rs"

[[test]]
name = "gatekeeper"
path = "tests/gatekeeper.rs"

[[test]]
name = "property"
path = "tests/property.rs"

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.miette]
version = "7.6.0"
features = ["fancy"]

[dependencies.phf]
version = "0.13"
default-features = false

[dependencies.thiserror]
version = "2.0.18"

[dev-dependencies.proptest]
version = "1.11"

[build-dependencies.phf_codegen]
version = "0.13"

[lints.clippy]
absolute_paths = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
empty_structs_with_brackets = "warn"
filetype_is_file = "warn"
format_push_string = "warn"
if_then_some_else_none = "warn"
large_enum_variant = "allow"
let_underscore_must_use = "warn"
lossy_float_literal = "warn"
missing_assert_message = "warn"
missing_const_for_fn = "allow"
mixed_read_write_in_expression = "warn"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_pub_crate = "allow"
rest_pat_in_fully_bound_structs = "warn"
same_name_method = "warn"
semicolon_outside_block = "warn"
str_to_string = "warn"
suspicious_xor_used_as_pow = "warn"
todo = "warn"
try_err = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unnecessary_self_imports = "warn"
unneeded_field_pattern = "warn"
verbose_file_reads = "warn"

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

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

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

[lints.rust]
ambiguous_negative_literals = "warn"
dead_code = "deny"
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
keyword_idents_2024 = "warn"
let_underscore_drop = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
non_ascii_idents = "deny"
redundant_lifetimes = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "allow"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1

[lints.rustdoc]
bare_urls = "deny"
broken_intra_doc_links = "deny"
invalid_codeblock_attributes = "deny"
invalid_html_tags = "deny"
invalid_rust_codeblocks = "deny"
private_intra_doc_links = "deny"
redundant_explicit_links = "deny"
unescaped_backticks = "deny"