-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathCargo.toml
More file actions
28 lines (24 loc) · 772 Bytes
/
Cargo.toml
File metadata and controls
28 lines (24 loc) · 772 Bytes
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
[package]
name = "ltp-cffi"
version = "0.1.0"
edition = "2021"
authors = ["ylfeng <ylfeng@ir.hit.edu.cn>"]
description = "The C bindings for LTP."
homepage = "https://github.com/HIT-SCIR/ltp"
repository = "https://github.com/HIT-SCIR/ltp"
keywords = ["ltp", "nlp"]
exclude = [".github"]
readme = "README.md"
license-file = "LICENSE"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "ltp"
path = "src/lib.rs"
crate-type = ["cdylib", "staticlib"]
[dependencies]
rayon = { version = "1.5" }
ltp = { version = "*", path = "../ltp", features = ["serialization", "parallel"] }
mimalloc = { version = "0.1", default-features = false, optional = true }
[features]
malloc = ["mimalloc"]
secure = ["mimalloc/secure"]