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 6d7fc4e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
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.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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 6d7fc4e

Please sign in to comment.