We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edf6c2a commit 94b780aCopy full SHA for 94b780a
src/dir/gen2.rs
@@ -1,10 +1,12 @@
1
-use crate::dir::man::{self, Manifest};
2
use core::fmt::{self, Display};
+use core::str::from_utf8;
3
+
4
use serde::{Deserialize, Serialize};
-use std::str::from_utf8;
5
use zerocopy::{FromBytes, Ref};
6
use zerocopy_derive::{FromBytes, Immutable, IntoBytes};
7
8
+use crate::dir::man::{self, Manifest};
9
10
const ENTRY_MAGIC: &[u8] = b"$MME";
11
const SIG_LUT: u32 = u32::from_le_bytes(*b"LLUT");
12
const SIG_LZMA: u32 = u32::from_le_bytes([0x36, 0x00, 0x40, 0x00]);
0 commit comments