From 831e0bc564d8caa3a6e1ac0901363a0b6233369d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20S=C3=B8rensen?= Date: Thu, 5 Dec 2024 17:58:54 +0100 Subject: [PATCH] build(deps): move to unsafe-libyaml-norway MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #17 Signed-off-by: Christina Sørensen --- .github/workflows/ci.yml | 2 +- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- src/libyaml/emitter.rs | 2 +- src/libyaml/error.rs | 2 +- src/libyaml/parser.rs | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f4c7b4..7058126 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - rust: [nightly, beta, stable, 1.65.0] + rust: [nightly, beta, stable, 1.71.1] timeout-minutes: 45 steps: - uses: actions/checkout@v4 diff --git a/Cargo.lock b/Cargo.lock index 218b6d0..d8400d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ "ryu", "serde", "serde_derive", - "unsafe-libyaml", + "unsafe-libyaml-norway", ] [[package]] @@ -118,7 +118,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" [[package]] -name = "unsafe-libyaml" -version = "0.2.11" +name = "unsafe-libyaml-norway" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861" +checksum = "6725b6489a7cc8867248a694a4a8b7620ecf9dd11ecfc17a77943bf155b11d29" diff --git a/Cargo.toml b/Cargo.toml index e223327..3525e9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,14 +8,14 @@ edition = "2021" keywords = ["yaml", "serde", "serialization"] license = "MIT OR Apache-2.0" repository = "https://github.com/cafkafk/serde-yaml" -rust-version = "1.65" +rust-version = "1.71.1" [dependencies] indexmap = "2.2.1" itoa = "1.0" ryu = "1.0" serde = "1.0.203" -unsafe-libyaml = "0.2.11" +unsafe-libyaml-norway = "0.2.13" [dev-dependencies] anyhow = "1.0.93" diff --git a/src/libyaml/emitter.rs b/src/libyaml/emitter.rs index 686f06e..32e7b97 100644 --- a/src/libyaml/emitter.rs +++ b/src/libyaml/emitter.rs @@ -5,7 +5,7 @@ use std::io; use std::mem::{self, MaybeUninit}; use std::ptr::{self, addr_of_mut}; use std::slice; -use unsafe_libyaml as sys; +use unsafe_libyaml_norway as sys; #[derive(Debug)] pub(crate) enum Error { diff --git a/src/libyaml/error.rs b/src/libyaml/error.rs index e0cbe59..7b62bcb 100644 --- a/src/libyaml/error.rs +++ b/src/libyaml/error.rs @@ -2,7 +2,7 @@ use crate::libyaml::cstr::CStr; use std::fmt::{self, Debug, Display}; use std::mem::MaybeUninit; use std::ptr::NonNull; -use unsafe_libyaml as sys; +use unsafe_libyaml_norway as sys; pub(crate) type Result = std::result::Result; diff --git a/src/libyaml/parser.rs b/src/libyaml/parser.rs index 3492edd..6339f1d 100644 --- a/src/libyaml/parser.rs +++ b/src/libyaml/parser.rs @@ -7,7 +7,7 @@ use std::fmt::{self, Debug}; use std::mem::MaybeUninit; use std::ptr::{addr_of_mut, NonNull}; use std::slice; -use unsafe_libyaml as sys; +use unsafe_libyaml_norway as sys; pub(crate) struct Parser<'input> { pin: Owned>,