metacomplete 2.0.1

Top-k string autocompletion
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"
name = "metacomplete"
version = "2.0.1"
build = false
exclude = [
    "npm/",
    "src/tests",
    "/docs",
    "*.ts",
    "*.typ",
    "*.drawio",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Top-k string autocompletion"
readme = "README.md"
keywords = [
    "autocomplete",
    "fuzzy",
    "algorithm",
    "search",
]
categories = ["algorithms"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ple1n/strprox"

[features]
default = ["test"]
fst = ["dep:fst"]
serde = ["dep:serde"]
test = [
    "dep:rand",
    "fst",
]
wasm = [
    "wasm-bindgen",
    "js-sys",
]

[lib]
name = "metacomplete"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bench]]
name = "index"
path = "benches/index.rs"
harness = false

[[bench]]
name = "varied_ed"
path = "benches/varied_ed.rs"
harness = false

[dependencies.debug_print]
version = "1.0.0"

[dependencies.derive-new]
version = "0.6.0"

[dependencies.fst]
version = "0.4"
optional = true

[dependencies.js-sys]
version = "0.3"
optional = true

[dependencies.metacomplete_ptrie]
version = "0.7"

[dependencies.polonius-the-crab]
version = "0.4.1"

[dependencies.rand]
version = "0.8"
optional = true

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

[dependencies.slab]
version = "0.4.9"

[dependencies.tracing]
version = "0.1.41"

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[dependencies.yoke]
version = "0.7.3"
features = ["derive"]

[dev-dependencies.criterion]
version = "0.6"
features = ["html_reports"]

[dev-dependencies.generic-tests]
version = "0.1.2"

[dev-dependencies.tracing-subscriber]
version = "0.3.19"

[profile.bench]
opt-level = 3

[profile.dev]
opt-level = 3

[profile.release]
opt-level = 3

[profile.test]
opt-level = 3