Fix build errors by importing the crates manually

This commit is contained in:
Gwilym Inzani 2024-05-27 09:58:23 +01:00
parent 2ac49ace06
commit 587e3cb521
2 changed files with 6 additions and 8 deletions

View file

@ -8,12 +8,12 @@ description = "CLI utility to convert agb stack trace dumps into human readable
repository = "https://github.com/agbrs/agb" repository = "https://github.com/agbrs/agb"
[dependencies] [dependencies]
addr2line = { version = "0.23", default-features = false, features = ["rustc-demangle"] }
gimli = { version = "0.30", default-features = false, features = ["endian-reader", "std"] }
object = { version = "0.36", default-features = false, features = ["read"] }
thiserror = "1" thiserror = "1"
clap = { version = "4", features = ["derive"] } clap = { version = "4", features = ["derive"] }
addr2line = { version = "0.23", default-features = false, features = [
"rustc-demangle",
"std-object",
] }
colored = "2" colored = "2"
rmp-serde = "1" rmp-serde = "1"
lz4_flex = "0.11" lz4_flex = "0.11"

View file

@ -1,9 +1,7 @@
use std::{borrow::Cow, collections::HashMap, io::Cursor, rc::Rc}; use std::{borrow::Cow, collections::HashMap, io::Cursor, rc::Rc};
use addr2line::{ use addr2line::gimli;
gimli, use object::Object;
object::{self, Object},
};
use thiserror::Error; use thiserror::Error;
#[derive(Debug, Error)] #[derive(Debug, Error)]