scallion 0.1.0-rc.2

Library for identification of license texts based on the SPDX license list
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 = "2021"
rust-version = "1.88"
name = "scallion"
version = "0.1.0-rc.2"
authors = [
    "Jacob Peddicord <jacob@peddicord.net>",
    "Fabio Valentini <decathorpe@gmail.com>",
]
build = false
include = [
    "/Cargo.toml",
    "/examples/**/*",
    "/LICENSE",
    "/NOTICE",
    "/README.md",
    "/src/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for identification of license texts based on the SPDX license list"
readme = "README.md"
license = "Apache-2.0"
repository = "https://codeberg.org/commons-rs/scallion"
resolver = "3"

[features]
default = ["zstd"]
gzip = ["dep:flate2"]
zstd = ["dep:zstd"]

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

[dependencies.log]
version = "0.4.6 "

[dependencies.regex]
version = "1.1.7"

[dependencies.rmp-serde]
version = "1.1.1"

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

[dependencies.serde_json]
version = "1.0.39"

[dependencies.thiserror]
version = "2"

[dependencies.unicode-normalization]
version = "0.1.8"

[dev-dependencies.env_logger]
version = "0.11"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.flate2]
version = "1.1.9"
features = ["zlib-rs"]
optional = true
default-features = false

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rayon]
version = "1.10.0"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.zstd]
version = "0.13"
optional = true

[target.'cfg(target_arch = "wasm32")'.dependencies.flate2]
version = "1.1.9"
features = ["rust_backend"]
optional = true
default-features = false

[lints.clippy]
allow_attributes = "warn"
dbg_macro = "warn"
fallible_impl_from = "deny"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
print_stderr = "deny"
print_stdout = "deny"
todo = "warn"
unneeded_field_pattern = "deny"
wildcard_enum_match_arm = "deny"
wildcard_imports = "warn"

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

[lints.rust]
explicit_outlives_requirements = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
noop_method_call = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
unused_import_braces = "warn"
unused_qualifications = "warn"