From 3d81cd9cc1e3fc27b4f2c21e71fd1c977e124642 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Tue, 21 May 2024 09:44:46 -0400 Subject: [PATCH] fix ci semver compat, 1.59, enable in branches The MSRV need to be bumped to 1.59 because of some language syntax we use. --- .github/workflows/ci.yml | 5 +++-- Cargo.toml | 2 +- src/enc/mod.rs | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9793f308..844771f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,9 @@ name: Rust on: - push: - branches: [ main, master ] + push: { } # Since the primary repo has no CI, every fork must do the CI work in every branch + # push: + # branches: [ main, master ] pull_request: branches: [ main, master ] release: diff --git a/Cargo.toml b/Cargo.toml index 827eb7b4..91868a80 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ categories = ["compression", "no-std"] readme = "README.md" autobins = false edition = "2015" -rust-version = "1.56.0" +rust-version = "1.59.0" [[bin]] doc = false diff --git a/src/enc/mod.rs b/src/enc/mod.rs index 4962bd23..7593cfe8 100644 --- a/src/enc/mod.rs +++ b/src/enc/mod.rs @@ -43,6 +43,10 @@ mod weights; pub mod worker_pool; pub mod writer; +// FIXME: Remove this in 7.0 +#[deprecated(note = "Leaving this here to avoid breaking 6.0 compatibility.")] +pub mod fast_log {} + pub use alloc::{AllocatedStackMemory, Allocator, SliceWrapper, SliceWrapperMut, StackAllocator}; #[cfg(feature = "std")] use std::io;