[package]
name = "lindera-ruby"
version = { workspace = true }
edition = { workspace = true }
description = "A Ruby binding for Lindera."
documentation = "https://docs.rs/lindera-ruby"
homepage = { workspace = true }
repository = { workspace = true }
readme = "README.md"
keywords = ["morphological", "analysis", "library", "ruby", "binding"]
categories = { workspace = true }
license = { workspace = true }
[lib]
name = "lindera_ruby"
crate-type = ["cdylib", "lib"]
[features]
embed-ipadic = ["lindera/embed-ipadic"]
embed-ipadic-neologd = [
"lindera/embed-ipadic-neologd",
]
embed-unidic = ["lindera/embed-unidic"]
embed-ko-dic = ["lindera/embed-ko-dic"]
embed-cc-cedict = [
"lindera/embed-cc-cedict",
]
embed-jieba = ["lindera/embed-jieba"]
embed-cjk = [
"lindera/embed-cjk",
]
train = ["lindera/train"]
default = ["train"]
[dependencies]
lindera = { workspace = true }
magnus = { version = "0.8.2", features = ["rb-sys"] }
num_cpus = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }