Skip to main content

lindera_sudachidict/
lib.rs

1#[cfg(feature = "embed-sudachidict")]
2pub mod embedded;
3
4/// Dictionary name used as the host of `embedded://` dictionary URIs.
5pub const DICTIONARY_NAME: &str = "sudachidict";
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. `"5.3.0"`).
14pub fn get_version() -> &'static str {
15    VERSION
16}