dowse 0.8.2

本地文件全文搜索引擎核心库:tantivy 倒排索引 + jieba 中文分词,含编码探测、NTFS/USN 快速索引与 Windows OCR
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 = "2024"
rust-version = "1.85"
name = "dowse"
version = "0.8.2"
authors = ["ltspace"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "本地文件全文搜索引擎核心库:tantivy 倒排索引 + jieba 中文分词,含编码探测、NTFS/USN 快速索引与 Windows OCR"
homepage = "https://github.com/ltspace/dowse"
documentation = "https://docs.rs/dowse"
readme = "README.md"
keywords = [
    "search",
    "fulltext",
    "cli",
    "chinese",
    "mcp",
]
categories = [
    "command-line-utilities",
    "text-processing",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ltspace/dowse"
resolver = "2"

[features]
cli = [
    "dep:clap",
    "dep:ctrlc",
    "dep:directories",
    "dep:rmcp",
    "dep:schemars",
    "dep:tokio",
]
default = ["cli"]

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

[[bin]]
name = "dowse"
path = "src/bin/dowse/main.rs"
required-features = ["cli"]

[[test]]
name = "e2e_watch"
path = "tests/e2e_watch.rs"

[[test]]
name = "incremental"
path = "tests/incremental.rs"

[[test]]
name = "mcp_integration"
path = "tests/mcp_integration.rs"
required-features = ["cli"]

[[test]]
name = "multi_root"
path = "tests/multi_root.rs"

[[test]]
name = "ntfs_fast_path"
path = "tests/ntfs_fast_path.rs"

[[test]]
name = "ocr_pipeline"
path = "tests/ocr_pipeline.rs"

[[test]]
name = "office_extract"
path = "tests/office_extract.rs"

[[test]]
name = "reconcile"
path = "tests/reconcile.rs"

[dependencies.anyhow]
version = "1"

[dependencies.chardetng]
version = "1.0.0"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]
optional = true

[dependencies.ctrlc]
version = "3.5.2"
optional = true

[dependencies.directories]
version = "6.0.0"
optional = true

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.notify]
version = "8.2.0"

[dependencies.pdf-extract]
version = "0.12.0"

[dependencies.quick-xml]
version = "0.41.0"

[dependencies.rmcp]
version = "2.2.0"
features = [
    "server",
    "macros",
    "transport-io",
    "schemars",
]
optional = true

[dependencies.schemars]
version = "1.2.1"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.tantivy]
version = "0.26.1"

[dependencies.tantivy-jieba]
version = "0.20.0"

[dependencies.tokio]
version = "1.52.3"
features = [
    "rt-multi-thread",
    "macros",
    "io-std",
]
optional = true

[dependencies.walkdir]
version = "2.5.0"

[dependencies.zip]
version = "8.6.0"
features = ["deflate"]
default-features = false

[dev-dependencies.rmcp]
version = "2.2.0"
features = [
    "client",
    "transport-child-process",
]

[dev-dependencies.tempfile]
version = "3.27.0"

[target."cfg(windows)".dependencies.pollster]
version = "1.0.1"

[target."cfg(windows)".dependencies.windows]
version = "0.62.2"
features = [
    "Media_Ocr",
    "Graphics_Imaging",
    "Storage",
    "Storage_Streams",
    "Foundation",
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_System_Ioctl",
    "Win32_System_IO",
    "Win32_Security",
]

[target."cfg(windows)".dependencies.windows-future]
version = "0.3"