Merge pull request 'Update code to Rust 1.84.0' (#14) from topic/jb/update-rust into main
Reviewed-on: #14 Reviewed-by: cody <william@werl.me>
This commit is contained in:
commit
a82a038e86
|
@ -2,7 +2,7 @@
|
|||
echo "<<< Install Rust prerequisites >>>"
|
||||
apt install -y curl
|
||||
|
||||
RUST_VERSION=1.78.0
|
||||
RUST_VERSION=1.84.0
|
||||
echo "<<< Install Rust $RUST_VERSION >>>"
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain=$RUST_VERSION -y
|
||||
. "$HOME/.cargo/env"
|
||||
|
|
|
@ -20,7 +20,7 @@ pub struct Reader<'a> {
|
|||
impl<'a> Reader<'a> {
|
||||
const CD_PREGAP_SECTORS:usize = Time::cd_pregap().as_sectors();
|
||||
|
||||
pub fn new(file: std::fs::File, data_type_guide: &'a Vec<DataTypeEnd>, unk_sector_behav: UnknownSectorBehavior) -> Result<Reader, Error> {
|
||||
pub fn new(file: std::fs::File, data_type_guide: &Vec<DataTypeEnd>, unk_sector_behav: UnknownSectorBehavior) -> Result<Reader, Error> {
|
||||
Ok(Reader{
|
||||
file, data_type_guide, unk_sector_behav, lba: Self::CD_PREGAP_SECTORS, active: true
|
||||
})
|
||||
|
|
|
@ -7,5 +7,5 @@ edition = "2021"
|
|||
panic = "abort"
|
||||
|
||||
[dependencies]
|
||||
clap = {version = "4.5.23", features = ["derive"]}
|
||||
clap = {version = "4.5.27", features = ["derive"]}
|
||||
tool_helper = {path = "../tool_helper"}
|
||||
|
|
|
@ -7,6 +7,6 @@ edition = "2021"
|
|||
panic = "abort"
|
||||
|
||||
[dependencies]
|
||||
clap = {version = "4.5.23", features = ["derive"]}
|
||||
serde_json = "1.0.134"
|
||||
clap = {version = "4.5.27", features = ["derive"]}
|
||||
serde_json = "1.0.137"
|
||||
tool_helper = {path = "../tool_helper"}
|
||||
|
|
|
@ -8,7 +8,7 @@ panic = "abort"
|
|||
|
||||
[dependencies]
|
||||
cdtypes = {path = "../cdtypes"}
|
||||
clap = {version = "4.5.23", features = ["derive"]}
|
||||
clap = {version = "4.5.27", features = ["derive"]}
|
||||
colored = "2.2.0"
|
||||
hound = "3.5.1"
|
||||
no-comment = "0.0.3"
|
||||
|
|
|
@ -26,9 +26,9 @@ symphonia-pcm = ["symphonia", "symphonia/pcm"]
|
|||
symphonia-vorbis = ["symphonia", "symphonia/vorbis"]
|
||||
|
||||
[dependencies]
|
||||
bitflags = "2.6.0"
|
||||
bitflags = "2.8.0"
|
||||
cdtypes = {path = "../cdtypes"}
|
||||
clap = {version = "4.5.23", features = ["derive"]}
|
||||
clap = {version = "4.5.27", features = ["derive"]}
|
||||
image = "0.24.9"
|
||||
hound = "3.5.1"
|
||||
paste = "1.0.15"
|
||||
|
|
|
@ -7,7 +7,7 @@ edition = "2021"
|
|||
panic = "abort"
|
||||
|
||||
[dependencies]
|
||||
clap = {version = "4.5.23", features = ["derive"]}
|
||||
clap = {version = "4.5.27", features = ["derive"]}
|
||||
crossterm = "0.27.0"
|
||||
ratatui = "0.25.0"
|
||||
readmap = {version = "*", path = "readmap"}
|
||||
|
|
|
@ -7,4 +7,4 @@ edition = "2021"
|
|||
panic = "abort"
|
||||
|
||||
[dependencies]
|
||||
clap = {version = "4.5.23", features = ["derive"]}
|
||||
clap = {version = "4.5.27", features = ["derive"]}
|
||||
|
|
Loading…
Reference in New Issue