-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (44 loc) · 1.22 KB
/
Cargo.toml
File metadata and controls
49 lines (44 loc) · 1.22 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
[package]
name = "pii"
version = "0.1.0"
edition = "2024"
license = "MIT OR Apache-2.0"
rust-version = "1.89.0"
authors = ["Worka"]
description = "PII detection and anonymization with deterministic, capability-aware NLP pipelines."
readme = "README.md"
homepage = "https://github.com/worka-ai/pii"
repository = "https://github.com/worka-ai/pii"
documentation = "https://docs.rs/pii"
keywords = ["pii", "privacy", "redaction", "anonymization", "nlp"]
categories = ["text-processing"]
[features]
default = []
candle-ner = [
"candle",
"candle-nn",
"candle-transformers",
"candle-examples",
"tokenizers",
"hf-hub",
]
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
regex = "1"
aho-corasick = "1"
sha2 = "0.10"
hex = "0.4"
candle = { package = "candle-core", version = "0.9.2-alpha.2", optional = true }
candle-nn = { version = "0.9.2-alpha.2", optional = true }
candle-transformers = { version = "0.9.2-alpha.2", optional = true }
candle-examples = { version = "0.9.2-alpha.2", optional = true }
tokenizers = { version = "0.15.2", optional = true }
hf-hub = { version = "0.4.3", optional = true }
[dev-dependencies]
proptest = "1"
criterion = "0.5"
[[bench]]
name = "analyze"
harness = false