# 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 = "stork-lib" version = "2.0.0-beta.2" authors = ["James Little "] exclude = ["/bindings/"] description = "Impossibly fast web search, made for static sites." homepage = "https://stork-search.net" documentation = "https://stork-search.net/docs" keywords = [ "wasm", "webassembly", "search", "javascript", ] categories = ["wasm"] license = "Apache-2.0" repository = "https://github.com/jameslittle230/stork" resolver = "1" [dependencies.bstr] version = "1.0.1" [dependencies.bytes] version = "1.2.1" [dependencies.frontmatter] version = "0.4.0" optional = true [dependencies.itertools] version = "0.10.3" [dependencies.kuchiki] version = "0.8.1" optional = true [dependencies.mime] version = "0.3.16" optional = true [dependencies.minicbor] version = "0.18.0" features = [ "derive", "std", ] [dependencies.pulldown-cmark] version = "0.9.1" optional = true [dependencies.reqwest] version = "0.11" features = [ "blocking", "json", ] optional = true [dependencies.rmp-serde] version = "1.1.1" [dependencies.rust-stemmers] version = "1.2.0" [dependencies.rust-tfidf] version = "1.1.1" optional = true [dependencies.serde] version = "1.0.147" features = ["derive"] optional = false [dependencies.serde_json] version = "1.0.72" optional = true [dependencies.smart-default] version = "0.6.0" [dependencies.srtparse] version = "0.2.0" optional = true [dependencies.strum] version = "0.24" optional = true [dependencies.strum_macros] version = "0.24" optional = true [dependencies.strunc] version = "0.1.1" optional = true [dependencies.thiserror] version = "1.0.29" optional = true [dependencies.toml] version = "0.5.8" optional = true [dependencies.ts-rs] version = "6.2.1" [dependencies.unicode-segmentation] version = "1.8.0" [dependencies.wasm-bindgen] version = "0.2.83" [dev-dependencies.hex-literal] version = "0.3.4" [dev-dependencies.pretty_assertions] version = "1.3.0" [features] build = [ "thiserror", "toml", "serde_json", "srtparse", "frontmatter", "kuchiki", "pulldown-cmark", "rust-tfidf", "strunc", "strum", "strum_macros", ] build-remote-fetch = [ "build", "mime", "reqwest", ]