# 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"
name = "sngram-weights"
version = "0.4.2"
authors = ["Joshua Smotritsky"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pre-trained sparse n-gram weight tables, embedded at compile time and selectable per training-data tier via Cargo features."
readme = "README.md"
keywords = [
    "ngram",
    "weights",
    "regex",
    "search",
    "code-search",
]
categories = [
    "text-processing",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/eliosai/sngram"

[features]
100gb = []
10gb = []
10tb = []
15tb = []
1gb = []
1tb = []
25tb = []
30tb = []
40tb = []
45tb = []
50gb = []
5tb = []
default = ["15tb"]

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

[dependencies.sngram-types]
version = "0.4.2"

[lints.clippy]
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
blanket_clippy_restriction_lints = "allow"
cast_possible_truncation = "warn"
cast_precision_loss = "warn"
cast_sign_loss = "warn"
cognitive_complexity = "warn"
expect_used = "warn"
indexing_slicing = "warn"
missing_const_for_fn = "warn"
missing_errors_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "warn"
panic = "warn"
too_many_arguments = "warn"
too_many_lines = "warn"
unwrap_used = "warn"
wildcard_imports = "warn"

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

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

[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"

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