Skip to content

Commit 5fbc63a

Browse files
committed
Move byteorder to workspace dependency
1 parent 670119a commit 5fbc63a

11 files changed

Lines changed: 13 additions & 10 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ members = [
66
"luca_pak", "utils", "luca_script",
77
]
88

9+
[workspace.dependencies]
10+
byteorder = "1.5"
11+
912
[workspace.package]
1013
authors = ["G2"]
1114

cz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT"
1010
authors.workspace = true
1111

1212
[dependencies]
13-
byteorder-lite = "0.1"
13+
byteorder = { workspace = true }
1414
thiserror = "2.0"
1515
imagequant = "4.3"
1616
rgb = "0.8"

cz/src/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use std::io::{self, Read, Seek, Write};
44

5-
use byteorder_lite::{ReadBytesExt, WriteBytesExt, LE};
5+
use byteorder::{ReadBytesExt, WriteBytesExt, LE};
66
use thiserror::Error;
77

88
#[derive(Error, Debug)]

cz/src/compression.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::{
55

66
use crate::binio::BitIo;
77
use crate::common::CzError;
8-
use byteorder_lite::{ReadBytesExt, WriteBytesExt, LE};
8+
use byteorder::{ReadBytesExt, WriteBytesExt, LE};
99

1010
/// The size of compressed data in each chunk
1111
#[derive(Debug, Clone, Copy)]

cz/src/dynamic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use byteorder_lite::ReadBytesExt;
1+
use byteorder::ReadBytesExt;
22
use rgb::ComponentSlice;
33
use std::{
44
fs::File,

luca_pak/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT"
1010
authors.workspace = true
1111

1212
[dependencies]
13-
byteorder-lite = "0.1"
13+
byteorder = { workspace = true }
1414
log = "0.4"
1515
thiserror = "2.0"
1616

luca_pak/src/header.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use byteorder_lite::WriteBytesExt;
1+
use byteorder::WriteBytesExt;
22
use std::io::{self, Write};
33

44
use crate::LE;

luca_pak/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pub mod entry;
22
pub mod header;
33

4-
use byteorder_lite::{ReadBytesExt, WriteBytesExt, LE};
4+
use byteorder::{ReadBytesExt, WriteBytesExt, LE};
55
use header::Header;
66
use log::{debug, info};
77
use std::{

luca_script/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
authors.workspace = true
66

77
[dependencies]
8-
byteorder-lite = "0.1.0"
8+
byteorder = { workspace = true}
99
encoding_rs = "0.8.35"
1010
serde = { version = "1.0.215", features = ["derive"] }
1111
serde_json = "1.0.133"

luca_script/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ mod utils;
22

33
use std::{fs, io::{Cursor, Read, Write}, sync::LazyLock};
44

5-
use byteorder_lite::{WriteBytesExt, ReadBytesExt, LE};
5+
use byteorder::{WriteBytesExt, ReadBytesExt, LE};
66
use serde::{Deserialize, Serialize};
77
use utils::Encoding;
88

0 commit comments

Comments
 (0)