forked from NomaDamas/katok
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (64 loc) · 1.86 KB
/
Copy pathCargo.toml
File metadata and controls
69 lines (64 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "katok"
version = "0.3.0"
edition = "2021"
rust-version = "1.91"
license = "MIT"
description = "Local KakaoTalk keyword, BM25, and vector search CLI for Apple Silicon macOS"
readme = "README.md"
repository = "https://github.com/NomaDamas/katok"
keywords = ["kakao", "kakaotalk", "search", "cli"]
categories = ["command-line-utilities"]
exclude = [
".fastembed_cache/**",
".gjc/**",
".omo/**",
"crates/**",
"target/**",
]
[features]
default = ["private-send"]
private-send = [
"dep:core-foundation",
"dep:core-graphics",
"dep:objc2",
"dep:objc2-app-kit",
"dep:objc2-core-foundation",
"dep:objc2-foundation",
]
[[bin]]
name = "katok"
path = "src/main.rs"
[dependencies]
aes = "0.8"
anyhow = "1"
base64 = "0.22"
cbc = "0.1"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "4", features = ["derive"] }
dirs = "6"
fastembed = { version = "5.16.1", default-features = false, features = ["hf-hub-native-tls", "ort-download-binaries-native-tls"] }
hmac = "0.12"
pbkdf2 = { version = "0.12", default-features = false }
rayon = "1"
rusqlite = { version = "0.32", features = ["bundled-sqlcipher-vendored-openssl"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sha1 = "0.10"
sha2 = "0.10"
thiserror = "2"
tokio = { version = "1", features = ["rt-multi-thread"] }
toml = "0.8"
unicode-normalization = "0.1.25"
ureq = "3.3"
[target.'cfg(target_os = "macos")'.dependencies]
core-foundation = { version = "0.10.1", optional = true }
core-graphics = { version = "0.25.0", features = ["elcapitan"], optional = true }
objc2 = { version = "0.6.4", optional = true }
objc2-app-kit = { version = "0.3.2", optional = true }
objc2-core-foundation = { version = "0.3.2", optional = true }
objc2-foundation = { version = "0.3.2", optional = true }
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"