mirror of
https://github.com/erg-lang/erg.git
synced 2025-07-16 17:45:24 +00:00
14 lines
760 B
Rust
14 lines
760 B
Rust
pub const SEMVER: &str = env!("CARGO_PKG_VERSION");
|
|
pub const GIT_HASH_SHORT: &str = env!("GIT_HASH_SHORT");
|
|
pub const BUILD_DATE: &str = env!("BUILD_DATE");
|
|
pub const CASE_SENSITIVE: bool = matches!(env!("CASE_SENSITIVE").as_bytes(), b"true");
|
|
|
|
pub const PYTHON_MODE: bool = cfg!(feature = "py_compat");
|
|
pub const ERG_MODE: bool = !cfg!(feature = "py_compat");
|
|
pub const ELS: bool = cfg!(feature = "els");
|
|
pub const DEBUG_MODE: bool = cfg!(feature = "debug");
|
|
pub const LOG_LEVEL_ERROR: bool = cfg!(feature = "log-level-error");
|
|
pub const EXPERIMENTAL_MODE: bool = cfg!(feature = "experimental");
|
|
pub const BACKTRACE_MODE: bool = cfg!(feature = "backtrace");
|
|
pub const GAL: bool = cfg!(feature = "gal");
|
|
pub const PARALLEL: bool = cfg!(feature = "parallel");
|