From 4bc36d3899c8130230df30f3d5cb9538e3c467db Mon Sep 17 00:00:00 2001 From: Leynos Date: Fri, 1 Aug 2025 10:18:46 +0100 Subject: [PATCH] Use shared setup-rust action --- .github/workflows/release.yml | 7 ++----- src/wrap.rs | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b73bf605..624bbb8c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,11 +56,8 @@ jobs: # ext: "" steps: - uses: actions/checkout@v4 - - uses: actions-rs/toolchain@v1.0.7 - with: - toolchain: stable - profile: minimal - override: true + - name: Setup Rust + uses: leynos/shared-actions/.github/actions/setup-rust@c6559452842af6a83b83429129dccaf910e34562 - name: Cache cross binary uses: actions/cache@v4 with: diff --git a/src/wrap.rs b/src/wrap.rs index b26688ee..770a1790 100644 --- a/src/wrap.rs +++ b/src/wrap.rs @@ -13,6 +13,7 @@ mod tokenize; /// Re-export this so callers of [`crate::textproc`] can implement custom /// transformations without depending on internal modules. pub use tokenize::Token; +pub use tokenize::tokenize_markdown; static FENCE_RE: std::sync::LazyLock = std::sync::LazyLock::new(|| Regex::new(r"^\s*(```|~~~).*").unwrap());