Skip to content

Commit

Permalink
build(deps): move to unsafe-libyaml-norway
Browse files Browse the repository at this point in the history
Closes: #17
Signed-off-by: Christina Sørensen <[email protected]>
  • Loading branch information
cafkafk committed Dec 5, 2024
1 parent 6f80ccc commit 831e0bc
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/libyaml/emitter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/libyaml/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> = std::result::Result<T, Error>;

Expand Down
2 changes: 1 addition & 1 deletion src/libyaml/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<ParserPinned<'input>>,
Expand Down

0 comments on commit 831e0bc

Please sign in to comment.