We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0914d35 commit 9b2445fCopy full SHA for 9b2445f
2 files changed
Cargo.toml
@@ -1,7 +1,7 @@
1
[package]
2
name = "fdt"
3
version = "0.2.0-alpha1"
4
-authors = ["Wesley Norris <repnop@outlook.com>"]
+authors = ["Wesley Norris <repnop@repnop.dev>"]
5
edition = "2021"
6
7
repository = "https://github.com/repnop/fdt"
examples/pretty_print.rs
@@ -0,0 +1,6 @@
+static MY_FDT: &[u8] = include_bytes!("../dtb/test.dtb");
+
+fn main() {
+ let fdt = fdt::Fdt::new_unaligned(MY_FDT).unwrap();
+ println!("{fdt}");
+}
0 commit comments