Skip to content

Commit 1a4b1b1

Browse files
authored
chore: 更新到0.3.0 (#109)
Signed-off-by: longjin <longjin@DragonOS.org>
1 parent 8c1ed95 commit 1a4b1b1

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dadk-config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dadk-config"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
edition = "2021"
55
authors = [
66
"longjin <longjin@DragonOS.org>",

dadk-config/src/manifest.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ pub struct Metadata {
8282
pub cache_root_dir: PathBuf,
8383

8484
/// User configuration directory path
85-
/// 这个字段只是临时用于兼容旧版本,v0.2版本重构完成后会删除
86-
#[deprecated(note = "This field is deprecated and will be removed in DADK 0.2")]
85+
/// 这个字段只是临时用于兼容旧版本,v1.0版本重构完成后会删除
86+
#[deprecated(note = "This field is deprecated and will be removed in DADK 1.0")]
8787
#[serde(default = "default_user_config_dir", rename = "user-config-dir")]
8888
pub user_config_dir: PathBuf,
8989
}

dadk-config/templates/config/userapp_config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build-once = false
1414
install-once = false
1515

1616
# 目标架构
17-
# 可选值:"x86_64", "aarch64", "riscv64"
17+
# 可选值:"x86_64", "aarch64", "riscv64", "loongarch64"
1818
target-arch = ["x86_64"]
1919

2020
# 任务源

dadk-user/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dadk-user"
3-
version = "0.2.0"
3+
version = "0.3.0"
44
edition = "2021"
55
description = "DragonOS Application Development Kit - user prog build"
66
license = "GPL-2.0-only"
@@ -9,7 +9,7 @@ license = "GPL-2.0-only"
99
anyhow = { version = "1.0.90", features = ["std", "backtrace"] }
1010
chrono = { version = "=0.4.35", features = ["serde"] }
1111
clap = { version = "=4.5.20", features = ["derive"] }
12-
dadk-config = { version = "0.2.0", path = "../dadk-config" }
12+
dadk-config = { version = "0.3.0", path = "../dadk-config" }
1313
derive_builder = "0.20.0"
1414
lazy_static = "1.4.0"
1515
log = "0.4.17"

dadk/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [
66
"xuzihao <xuzihao@DragonOS.org>"
77
]
88

9-
version = "0.2.0"
9+
version = "0.3.0"
1010
edition = "2021"
1111
description = "DragonOS Application Development Kit\nDragonOS应用开发工具"
1212
license = "GPL-2.0-only"
@@ -33,8 +33,8 @@ insiders = []
3333
anyhow = { version = "1.0.90", features = ["std", "backtrace"] }
3434
clap = { version = "4.5.20", features = ["derive"] }
3535
crossbeam = "0.8.4"
36-
dadk-config = { version = "0.2.0", path = "../dadk-config" }
37-
dadk-user = { version = "0.2.0", path = "../dadk-user" }
36+
dadk-config = { version = "0.3.0", path = "../dadk-config" }
37+
dadk-user = { version = "0.3.0", path = "../dadk-user" }
3838
derive_builder = "0.20.0"
3939
env_logger = { workspace = true }
4040
humantime = "2.1.0"

docs/user-manual/quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ MIN_DADK_VERSION = 0.2.0
2222

2323
您可以通过以下命令安装dadk:
2424
```shell
25-
cargo install --git https://git.mirrors.dragonos.org.cn/DragonOS-Community/DADK.git --tag <版本号>
25+
cargo install --git https://git.mirrors.dragonos.org.cn/DragonOS-Community/DADK.git --tag <版本号> --locked
2626
```
2727

2828
比如,对于0.2.0版本,您可以使用以下命令安装: `(注意版本号前面有个v)`
2929
```shell
30-
cargo install --git https://git.mirrors.dragonos.org.cn/DragonOS-Community/DADK.git --tag v0.2.0
30+
cargo install --git https://git.mirrors.dragonos.org.cn/DragonOS-Community/DADK.git --tag v0.2.0 --locked
3131
```
3232

3333
## 打包你的第一个应用
@@ -123,7 +123,7 @@ build-once = false
123123
# (可选) 默认: false 是否只安装一次,如果为true,DADK会在安装成功后,不再重复安装
124124
install-once = false
125125
# 目标架构
126-
# 可选值:"x86_64", "aarch64", "riscv64"
126+
# 可选值:"x86_64", "aarch64", "riscv64", "loongarch64"
127127
target-arch = ["x86_64"]
128128

129129
# 任务源

0 commit comments

Comments
 (0)