diff --git a/Cargo.lock b/Cargo.lock index b3e9920..c265af7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -351,7 +351,7 @@ dependencies = [ [[package]] name = "ncmdump" -version = "0.7.3" +version = "0.8.0" dependencies = [ "aes", "anyhow", @@ -364,7 +364,7 @@ dependencies = [ [[package]] name = "ncmdump-bin" -version = "0.7.3" +version = "0.8.0" dependencies = [ "anyhow", "clap", diff --git a/Cargo.toml b/Cargo.toml index 725378c..bc0da1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/ncmdump", "crates/ncmdump-bin"] resolver = "2" [workspace.package] -version = "0.7.3" +version = "0.8.0" authors = ["iqiziqi "] edition = "2021" @@ -17,5 +17,10 @@ keywords = ["ncm", "qmc", "music", "dump"] [workspace.dependencies] anyhow = "^1.0" -ncmdump = { path = "crates/ncmdump" } +ncmdump = { path = "crates/ncmdump", version = "0.8.0" } thiserror = "^1.0" + +[profile.release] +lto = true +opt-level = "s" +strip = true diff --git a/README.cn.md b/README.cn.md index f32fee0..782548b 100644 --- a/README.cn.md +++ b/README.cn.md @@ -24,6 +24,8 @@ cargo install ncmdump ``` +或者通过 [GitHub Release](https://github.com/iqiziqi/ncmdump.rs/releases/latest) 下载。 + ### 简单使用 ```shell @@ -52,7 +54,7 @@ Options: 在你的 `Cargo.toml` 文件中添加依赖: ```toml -ncmdump = "0.7.3" +ncmdump = "0.8.0" ``` 或者,如果安装了 [cargo-edit](https://github.com/killercup/cargo-edit),你可以使用命令: diff --git a/README.md b/README.md index f5a7dd1..950ae05 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,11 @@ You can install by Cargo. ```shell -cargo install ncmdump +cargo install ncmdump-bin ``` +Or download the binary file by [GitHub Release](https://github.com/iqiziqi/ncmdump.rs/releases/latest). + ### Simple usage ```shell @@ -52,7 +54,7 @@ Options: You can add this to your `Cargo.toml`: ```toml -ncmdump = "0.7.3" +ncmdump = "0.8.0" ``` Also, you can use this command to install this crate, diff --git a/crates/ncmdump-bin/Cargo.toml b/crates/ncmdump-bin/Cargo.toml index b5d159e..289f865 100644 --- a/crates/ncmdump-bin/Cargo.toml +++ b/crates/ncmdump-bin/Cargo.toml @@ -26,8 +26,3 @@ thiserror = { workspace = true } ncmdump = { workspace = true } metaflac = "0.2.5" id3 = "1.9.0" - -[profile.release] -lto = true -opt-level = "s" -strip = true