Skip to content

Commit 07821a2

Browse files
all: make use of the byte_endian crate instead of simple_endian
Signed-off-by: Anhad Singh <[email protected]>
1 parent 8424fa1 commit 07821a2

File tree

10 files changed

+21
-45
lines changed

10 files changed

+21
-45
lines changed

src/Cargo.lock

Lines changed: 7 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/aero_kernel/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ cpio_reader = { git = "https://github.com/Andy-Python-Programmer/cpio_reader" }
4242
static_assertions = "1.1.0"
4343
lru = "0.10.0"
4444
bytemuck = "1.13.1"
45-
simple_endian = { git = "https://github.com/Andy-Python-Programmer/simple-endian-rs" }
46-
byteorder = { version = "1.4.3", default-features = false }
45+
byte_endian = { git = "https://github.com/aero-os/byte_endian" }
4746
limine = { git = "https://github.com/limine-bootloader/limine-rs" }
4847
cfg-if = "1.0"
4948
num-traits = { version = "0.2", default-features = false }

src/aero_kernel/src/net/arp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
2020
use alloc::collections::BTreeMap;
2121
use alloc::vec::Vec;
22-
use simple_endian::BigEndian;
22+
use byte_endian::BigEndian;
2323
use spin::{Once, RwLock};
2424

2525
use crate::net::{default_device, ethernet, PacketUpHierarchy};

src/aero_kernel/src/net/checksum.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use simple_endian::BigEndian;
1+
use byte_endian::BigEndian;
22

33
use super::ip::{self, Ipv4Addr};
44

src/aero_kernel/src/net/ip.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// You should have received a copy of the GNU General Public License
1616
// along with Aero. If not, see <https://www.gnu.org/licenses/>.
1717

18-
use simple_endian::BigEndian;
18+
use byte_endian::BigEndian;
1919

2020
use super::*;
2121

src/aero_kernel/src/net/tcp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use alloc::collections::BTreeMap;
1919
use alloc::sync::Arc;
2020

2121
use bit_field::BitField;
22-
use simple_endian::BigEndian;
22+
use byte_endian::BigEndian;
2323
use spin::RwLock;
2424

2525
use super::ip::{self, Ipv4, Ipv4Addr};

src/aero_kernel/src/net/udp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
use alloc::collections::BTreeMap;
1919
use alloc::sync::Arc;
20-
use simple_endian::BigEndian;
20+
use byte_endian::BigEndian;
2121
use spin::RwLock;
2222

2323
use super::ip::{Ipv4, Ipv4Addr};

src/aero_syscall/Cargo.toml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,4 @@ edition = "2021"
88
bitflags = "1.2.1"
99
num-derive = { version = "0.3", default-features = false }
1010
num-traits = { version = "0.2", default-features = false }
11-
simple_endian = { git = "https://github.com/michalfita/simple-endian-rs", branch = "bugfix/4/fix-no_std-support-right-way", default_features = false, features = [
12-
"bitwise",
13-
"comparisons",
14-
"format",
15-
"math_ops",
16-
"neg_ops",
17-
"shift_ops",
18-
"both_endian",
19-
"float_impls",
20-
"integer_impls",
21-
"byte_impls",
22-
] }
11+
byte_endian = { git = "https://github.com/aero-os/byte_endian" }

src/aero_syscall/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub mod socket;
2929
pub mod syscall;
3030
pub mod time;
3131

32-
use simple_endian::BigEndian;
32+
use byte_endian::BigEndian;
3333

3434
pub use crate::syscall::*;
3535

userland/Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)