mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-24 13:10:07 +00:00
* feat: add web target * dev: simple package rule * dev: update web release * dev: update workspace * ci: setup wasm pack * ci: correct path to upload * ci: build artifact * fix: update metadata and launch config
30 lines
799 B
Rust
30 lines
799 B
Rust
//! Tinymist Core Library
|
|
|
|
use std::sync::LazyLock;
|
|
|
|
/// The long version description of the library
|
|
pub static LONG_VERSION: LazyLock<String> = LazyLock::new(|| {
|
|
format!(
|
|
"
|
|
Build Timestamp: {}
|
|
Build Git Describe: {}
|
|
Commit SHA: {}
|
|
Commit Date: {}
|
|
Commit Branch: {}
|
|
Cargo Target Triple: {}
|
|
Typst Version: {}
|
|
Typst Source: {}
|
|
",
|
|
env!("VERGEN_BUILD_TIMESTAMP"),
|
|
env!("VERGEN_GIT_DESCRIBE"),
|
|
option_env!("VERGEN_GIT_SHA").unwrap_or("None"),
|
|
option_env!("VERGEN_GIT_COMMIT_TIMESTAMP").unwrap_or("None"),
|
|
option_env!("VERGEN_GIT_BRANCH").unwrap_or("None"),
|
|
env!("VERGEN_CARGO_TARGET_TRIPLE"),
|
|
env!("TYPST_VERSION"),
|
|
env!("TYPST_SOURCE"),
|
|
)
|
|
});
|
|
|
|
#[cfg(feature = "web")]
|
|
pub mod web;
|