lindera_unidic_csj/lib.rs
1#[cfg(feature = "embed-unidic-csj")]
2pub mod embedded;
3
4/// Dictionary name used as the host of `embedded://` dictionary URIs.
5pub const DICTIONARY_NAME: &str = "unidic-csj";
6/// Crate version, exposed through [`get_version`].
7const VERSION: &str = env!("CARGO_PKG_VERSION");
8
9/// Returns the version of this crate.
10///
11/// # Returns
12///
13/// The crate version string (e.g. `"7.0.0"`).
14pub fn get_version() -> &'static str {
15 VERSION
16}