csan-core 0.6.0

Cutter call number generation (Cutter-Sanborn and Library of Congress) for library cataloging
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.97"
name = "csan-core"
version = "0.6.0"
authors = ["VERALVX <veralvx@veralvx.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cutter call number generation (Cutter-Sanborn and Library of Congress) for library cataloging"
documentation = "https://docs.rs/csan-core"
readme = "README.md"
keywords = [
    "cutter-sanborn",
    "cataloging",
    "call-number",
    "typst",
    "library",
]
categories = ["text-processing"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/veralvx/csan"

[package.metadata.dist]
dist = false

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

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

[dependencies.derive_more]
version = "2.1"
features = [
    "display",
    "error",
]

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

[dependencies.serde_json]
version = "1.0"

[dev-dependencies]

[lints.clippy]
arbitrary_source_item_ordering = "allow"
blanket_clippy_restriction_lints = "allow"
default_numeric_fallback = "allow"
doc_paragraphs_missing_punctuation = "allow"
exhaustive_enums = "allow"
exhaustive_structs = "allow"
impl_trait_in_params = "allow"
implicit_return = "allow"
inline_modules = "allow"
inline_trait_bounds = "allow"
integer_division = "allow"
integer_division_remainder_used = "allow"
min_ident_chars = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
missing_trait_methods = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
non_ascii_literal = "allow"
pattern_type_mismatch = "allow"
print_stderr = "allow"
print_stdout = "allow"
pub_use = "allow"
pub_with_shorthand = "allow"
question_mark_used = "allow"
self_named_module_files = "allow"
semicolon_outside_block = "allow"
separated_literal_suffix = "allow"
shadow_reuse = "allow"
shadow_same = "allow"
single_call_fn = "allow"
single_char_lifetime_names = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "allow"
unused_trait_names = "allow"

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

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

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

[lints.rust]
absolute_paths_not_starting_with_crate = "deny"
ambiguous_negative_literals = "deny"
closure_returning_async_block = "warn"
deprecated_in_future = "deny"
deprecated_safe_2024 = "deny"
deref_into_dyn_supertrait = "deny"
elided_lifetimes_in_paths = "warn"
explicit_outlives_requirements = "warn"
if_let_rescope = "warn"
impl_trait_overcaptures = "warn"
let_underscore_drop = "deny"
macro_use_extern_crate = "deny"
missing_copy_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "deny"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unknown_lints = "allow"
unreachable_pub = "deny"
unsafe_op_in_unsafe_fn = "deny"
unused_crate_dependencies = "deny"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"