# 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 = "strprox" version = "0.3.3" exclude = [ "npm/", "src/tests", ] description = "Top-k string autocompletion" readme = "README.md" keywords = ["autocomplete"] license = "MIT OR Apache-2.0" repository = "https://github.com/anusarati/strprox/" [profile.test] opt-level = 3 [lib] crate-type = [ "cdylib", "rlib", ] [dependencies.js-sys] version = "0.3" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.wasm-bindgen] version = "0.2" optional = true [dev-dependencies.rand] version = "0.8" [features] serde = ["dep:serde"] wasm = [ "wasm-bindgen", "js-sys", ]