sokoban-elements 0.2.1

Parsing and writing Sokoban, Hexoban, Trioban and Octoban file formats.
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 = "sokoban-elements"
version = "0.2.1"
authors = ["tadams42"]
build = false
exclude = ["doc/img/**"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parsing and writing Sokoban, Hexoban, Trioban and Octoban file formats."
readme = "README.md"
keywords = [
    "sokoban",
    "hexoban",
    "trioban",
    "octoban",
    "multiban",
]
categories = ["games"]
license = "GPL-2.0-only"
repository = "https://github.com/tadams42/sokoban-elements"

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

[[package.metadata.release.pre-release-replacements]]
file = "src/lib.rs.md"
search = 'sokoban-elements = \{ version = "[^"]+"'
replace = 'sokoban-elements = { version = "{{version}}"'
exactly = 1

[features]
json = [
    "dep:serde_json",
    "serde",
]
serde = ["dep:serde"]

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

[dependencies.ahash]
version = "0.8.7"

[dependencies.bitvec]
version = "1.0.1"

[dependencies.itertools]
version = "0.15.0"

[dependencies.peginator]
version = "0.7.0"

[dependencies.regex]
version = "1.10.2"

[dependencies.roxmltree]
version = "0.21.1"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.simple-xml-builder]
version = "1.1.0"

[dev-dependencies.const_format]
version = "0.2.34"

[dev-dependencies.indoc]
version = "2.0.4"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tempfile]
version = "3.8.1"

[lints.clippy]
allow_attributes = "warn"
as_conversions = "warn"
as_underscore = "warn"
cast_abs_to_unsigned = "warn"
cast_lossless = "warn"
cast_possible_truncation = "warn"
cast_possible_wrap = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
collapsible_else_if = "warn"
comparison_chain = "warn"
dbg_macro = "warn"
default_numeric_fallback = "warn"
doc_include_without_cfg = "warn"
doc_markdown = "warn"
elidable_lifetime_names = "warn"
empty_line_after_doc_comments = "warn"
empty_line_after_outer_attr = "warn"
error_impl_error = "warn"
expect_used = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp = "warn"
fn_params_excessive_bools = "warn"
fn_to_numeric_cast_any = "warn"
format_collect = "warn"
format_push_string = "warn"
get_unwrap = "warn"
if_not_else = "warn"
if_then_some_else_none = "warn"
implicit_clone = "warn"
index_refutable_slice = "warn"
inefficient_to_string = "warn"
into_iter_without_iter = "warn"
invalid_upcast_comparisons = "warn"
iter_filter_is_ok = "warn"
iter_filter_is_some = "warn"
iter_not_returning_iterator = "warn"
iter_without_into_iter = "warn"
large_types_passed_by_value = "warn"
manual_assert = "warn"
manual_is_variant_and = "warn"
manual_let_else = "warn"
manual_string_new = "warn"
manual_unwrap_or_default = "warn"
map_err_ignore = "warn"
map_unwrap_or = "warn"
match_bool = "warn"
match_same_arms = "warn"
match_wild_err_arm = "warn"
match_wildcard_for_single_variants = "warn"
missing_panics_doc = "warn"
mod_module_files = "warn"
needless_for_each = "warn"
needless_pass_by_value = "warn"
needless_raw_strings = "warn"
nonminimal_bool = "warn"
option_as_ref_cloned = "warn"
option_option = "warn"
overly_complex_bool_expr = "warn"
panic = "warn"
range_minus_one = "warn"
range_plus_one = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
redundant_type_annotations = "warn"
ref_binding_to_reference = "warn"
ref_option = "warn"
ref_option_ref = "warn"
renamed_function_params = "warn"
same_functions_in_if_condition = "warn"
same_length_and_capacity = "warn"
same_name_method = "warn"
semicolon_if_nothing_returned = "warn"
semicolon_inside_block = "warn"
single_match_else = "warn"
str_split_at_newline = "warn"
string_add = "warn"
string_add_assign = "warn"
string_lit_chars_any = "warn"
too_many_lines = "warn"
trivially_copy_pass_by_ref = "warn"
uninlined_format_args = "warn"
unnecessary_box_returns = "warn"
unnecessary_debug_formatting = "warn"
unnecessary_join = "warn"
unnecessary_literal_bound = "warn"
unnecessary_semicolon = "warn"
unnecessary_trailing_comma = "warn"
unnecessary_wraps = "warn"
unnested_or_patterns = "warn"
unseparated_literal_suffix = "warn"
unused_self = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
used_underscore_binding = "warn"
wildcard_imports = "warn"