-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
47 lines (42 loc) · 1.79 KB
/
Cargo.toml
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
[package]
name = "rphonetic"
version = "3.0.2"
edition = "2021"
rust-version = "1.65.0"
authors = ["dalvany", "Crabe de France"]
description = "Rust port of phonetic Apache commons-codec algorithms"
repository = "https://github.com/Dalvany/rphonetic"
homepage = "https://github.com/Dalvany/rphonetic"
documentation = "https://docs.rs/rphonetic"
readme = "README.md"
license = "Apache-2.0"
categories = ["text-processing", "algorithms"]
keywords = ["phonetic"]
exclude = ["/.github"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
#! There is two features that provide default rules and Default implementation for some struct.
#! They are not enabled by default as files are embedded into code, so it might increase binary size. It’s best to provide rules by your own.
## Shorthand for `embedded_bm` and `embedded_dm`
embedded = ["embedded_bm", "embedded_dm"]
## Beider-Morse rules. It includes only `any` language and other files that are required. All file can be found in
## [commons-codec repository](https://github.com/apache/commons-codec/tree/rel/commons-codec-1.15/src/main/resources/org/apache/commons/codec/language/bm)
embedded_bm = []
## Daitch-Mokotoff rules. They can be also found in [commons-codec repository](https://github.com/apache/commons-codec/blob/rel/commons-codec-1.15/src/main/resources/org/apache/commons/codec/language/dmrules.txt)
embedded_dm = []
[dependencies]
regex = "1.11"
nom = "8.0"
lazy_static = "1.5"
serde = { version = "1.0", features = ["derive"] }
enum-iterator = "2.0"
either = "1.13"
document-features = "0.2"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "benchmark"
harness = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]