diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 44af1cd8..2624e1c7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,7 +25,7 @@ jobs: - "3.3" - head rustup-toolchain: - - "1.61" + - "1.65" - stable exclude: - os: windows-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index 7822984c..eb56b4d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - `typed_data::Writebarrier::writebarrier` and `writebarrier_unprotect`. ### Changed +- Minimum supported Rust version in now 1.65. - Conversions between Ruby's `Time` and Rust's `SystemTime` now preserve nanosecond precision. - 'old-api' feature, which disables deprecation warnings for the old api is no diff --git a/Cargo.lock b/Cargo.lock index 805a34ae..b2eb1ef0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -280,18 +280,18 @@ dependencies = [ [[package]] name = "rb-sys" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b780e6858b0b0eced1d55d0f097c024b77a37b41f83bd35341130f78e37c51" +checksum = "df4dec4b1d304c3b308a2cd86b1216ea45dd4361f4e9fa056f108332d0a450c1" dependencies = [ "rb-sys-build", ] [[package]] name = "rb-sys-build" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44957a3bc513dad1b0f20bdd0ee3b82e729a59da44086a6b40d8bc71958a6db8" +checksum = "1d71de3e29d174b8fb17b5d4470f27d7aa2605f8a9d05fda0d3aeff30e05a570" dependencies = [ "bindgen", "lazy_static", diff --git a/Cargo.toml b/Cargo.toml index 277e2337..72372dde 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ rb-sys = [] bytes = { version = "1", optional = true } chrono = { version = "0.4.38", optional = true } magnus-macros = { version = "0.6.0", path = "magnus-macros" } -rb-sys = { version = "0.9.85", default-features = false, features = [ +rb-sys = { version = "0.9.102", default-features = false, features = [ "bindgen-rbimpls", "bindgen-deprecated-types", "stable-api", diff --git a/README.md b/README.md index 3be0e8ac..c8d5efa8 100644 --- a/README.md +++ b/README.md @@ -443,7 +443,7 @@ recommended and future support in Magnus is not guaranteed. Ruby bindings will be generated at compile time, this may require libclang to be installed. -The Minimum supported Rust version is currently Rust 1.61. +The Minimum supported Rust version is currently Rust 1.65. Support for statically linking Ruby is provided via the lower-level [rb-sys] crate, and can be enabled by adding the following to your `Cargo.toml`: diff --git a/examples/complete_object/ext/temperature/Cargo.lock b/examples/complete_object/ext/temperature/Cargo.lock index 705174fb..c2a40b8f 100644 --- a/examples/complete_object/ext/temperature/Cargo.lock +++ b/examples/complete_object/ext/temperature/Cargo.lock @@ -173,18 +173,18 @@ dependencies = [ [[package]] name = "rb-sys" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b780e6858b0b0eced1d55d0f097c024b77a37b41f83bd35341130f78e37c51" +checksum = "df4dec4b1d304c3b308a2cd86b1216ea45dd4361f4e9fa056f108332d0a450c1" dependencies = [ "rb-sys-build", ] [[package]] name = "rb-sys-build" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44957a3bc513dad1b0f20bdd0ee3b82e729a59da44086a6b40d8bc71958a6db8" +checksum = "1d71de3e29d174b8fb17b5d4470f27d7aa2605f8a9d05fda0d3aeff30e05a570" dependencies = [ "bindgen", "lazy_static", diff --git a/examples/custom_exception_ruby/ext/ahriman/Cargo.lock b/examples/custom_exception_ruby/ext/ahriman/Cargo.lock index 2f2b8b96..46b82179 100644 --- a/examples/custom_exception_ruby/ext/ahriman/Cargo.lock +++ b/examples/custom_exception_ruby/ext/ahriman/Cargo.lock @@ -181,18 +181,18 @@ dependencies = [ [[package]] name = "rb-sys" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b780e6858b0b0eced1d55d0f097c024b77a37b41f83bd35341130f78e37c51" +checksum = "df4dec4b1d304c3b308a2cd86b1216ea45dd4361f4e9fa056f108332d0a450c1" dependencies = [ "rb-sys-build", ] [[package]] name = "rb-sys-build" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44957a3bc513dad1b0f20bdd0ee3b82e729a59da44086a6b40d8bc71958a6db8" +checksum = "1d71de3e29d174b8fb17b5d4470f27d7aa2605f8a9d05fda0d3aeff30e05a570" dependencies = [ "bindgen", "lazy_static", diff --git a/examples/custom_exception_rust/ext/ahriman/Cargo.lock b/examples/custom_exception_rust/ext/ahriman/Cargo.lock index 2f2b8b96..46b82179 100644 --- a/examples/custom_exception_rust/ext/ahriman/Cargo.lock +++ b/examples/custom_exception_rust/ext/ahriman/Cargo.lock @@ -181,18 +181,18 @@ dependencies = [ [[package]] name = "rb-sys" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b780e6858b0b0eced1d55d0f097c024b77a37b41f83bd35341130f78e37c51" +checksum = "df4dec4b1d304c3b308a2cd86b1216ea45dd4361f4e9fa056f108332d0a450c1" dependencies = [ "rb-sys-build", ] [[package]] name = "rb-sys-build" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44957a3bc513dad1b0f20bdd0ee3b82e729a59da44086a6b40d8bc71958a6db8" +checksum = "1d71de3e29d174b8fb17b5d4470f27d7aa2605f8a9d05fda0d3aeff30e05a570" dependencies = [ "bindgen", "lazy_static", diff --git a/examples/rust_blank/ext/rust_blank/Cargo.lock b/examples/rust_blank/ext/rust_blank/Cargo.lock index 8fe6c2dd..fe5da409 100644 --- a/examples/rust_blank/ext/rust_blank/Cargo.lock +++ b/examples/rust_blank/ext/rust_blank/Cargo.lock @@ -173,18 +173,18 @@ dependencies = [ [[package]] name = "rb-sys" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05b780e6858b0b0eced1d55d0f097c024b77a37b41f83bd35341130f78e37c51" +checksum = "df4dec4b1d304c3b308a2cd86b1216ea45dd4361f4e9fa056f108332d0a450c1" dependencies = [ "rb-sys-build", ] [[package]] name = "rb-sys-build" -version = "0.9.85" +version = "0.9.102" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44957a3bc513dad1b0f20bdd0ee3b82e729a59da44086a6b40d8bc71958a6db8" +checksum = "1d71de3e29d174b8fb17b5d4470f27d7aa2605f8a9d05fda0d3aeff30e05a570" dependencies = [ "bindgen", "lazy_static", diff --git a/test b/test index 4fdee61b..9ca9dce3 100755 --- a/test +++ b/test @@ -7,7 +7,7 @@ for VERSION in $RUBY_VERSIONS; do eval "$(rbenv init - sh)" rbenv shell $VERSION printf "testing Ruby $VERSION..." - if OUTPUT=$(env RUBY="$(rbenv which ruby)" cargo +1.61 test --workspace 2>&1); then + if OUTPUT=$(env RUBY="$(rbenv which ruby)" cargo +1.65 test --workspace 2>&1); then echo ✅ else ERRORS="$ERRORS\n\n\n$VERSION\n\n$OUTPUT"