Răsfoiți Sursa

chore: 更新到0.3.0 (#109)

Signed-off-by: longjin <longjin@DragonOS.org>
LoGin 23 ore în urmă
părinte
comite
1a4b1b1805

+ 3 - 3
Cargo.lock

@@ -455,7 +455,7 @@ dependencies = [
 
 [[package]]
 name = "dadk"
-version = "0.2.0"
+version = "0.3.0"
 dependencies = [
  "anyhow",
  "clap",
@@ -478,7 +478,7 @@ dependencies = [
 
 [[package]]
 name = "dadk-config"
-version = "0.2.0"
+version = "0.3.0"
 dependencies = [
  "anyhow",
  "cfg-if",
@@ -495,7 +495,7 @@ dependencies = [
 
 [[package]]
 name = "dadk-user"
-version = "0.2.0"
+version = "0.3.0"
 dependencies = [
  "anyhow",
  "chrono",

+ 1 - 1
dadk-config/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "dadk-config"
-version = "0.2.0"
+version = "0.3.0"
 edition = "2021"
 authors = [
     "longjin <longjin@DragonOS.org>",

+ 2 - 2
dadk-config/src/manifest.rs

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

+ 1 - 1
dadk-config/templates/config/userapp_config.toml

@@ -14,7 +14,7 @@ build-once = false
 install-once = false
 
 # 目标架构
-# 可选值:"x86_64", "aarch64", "riscv64"
+# 可选值:"x86_64", "aarch64", "riscv64", "loongarch64"
 target-arch = ["x86_64"]
 
 # 任务源

+ 2 - 2
dadk-user/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "dadk-user"
-version = "0.2.0"
+version = "0.3.0"
 edition = "2021"
 description = "DragonOS Application Development Kit - user prog build"
 license = "GPL-2.0-only"
@@ -9,7 +9,7 @@ license = "GPL-2.0-only"
 anyhow = { version = "1.0.90", features = ["std", "backtrace"] }
 chrono = { version = "=0.4.35", features = ["serde"] }
 clap = { version = "=4.5.20", features = ["derive"] }
-dadk-config = { version = "0.2.0", path = "../dadk-config" }
+dadk-config = { version = "0.3.0", path = "../dadk-config" }
 derive_builder = "0.20.0"
 lazy_static = "1.4.0"
 log = "0.4.17"

+ 3 - 3
dadk/Cargo.toml

@@ -6,7 +6,7 @@ authors = [
     "xuzihao <xuzihao@DragonOS.org>"
 ]
 
-version = "0.2.0"
+version = "0.3.0"
 edition = "2021"
 description = "DragonOS Application Development Kit\nDragonOS应用开发工具"
 license = "GPL-2.0-only"
@@ -33,8 +33,8 @@ insiders = []
 anyhow = { version = "1.0.90", features = ["std", "backtrace"] }
 clap = { version = "4.5.20", features = ["derive"] }
 crossbeam = "0.8.4"
-dadk-config = { version = "0.2.0", path = "../dadk-config" }
-dadk-user = { version = "0.2.0", path = "../dadk-user" }
+dadk-config = { version = "0.3.0", path = "../dadk-config" }
+dadk-user = { version = "0.3.0", path = "../dadk-user" }
 derive_builder = "0.20.0"
 env_logger = { workspace = true }
 humantime = "2.1.0"

+ 3 - 3
docs/user-manual/quickstart.md

@@ -22,12 +22,12 @@ MIN_DADK_VERSION = 0.2.0
 
 您可以通过以下命令安装dadk:
 ```shell
-cargo install --git https://git.mirrors.dragonos.org.cn/DragonOS-Community/DADK.git --tag <版本号>
+cargo install --git https://git.mirrors.dragonos.org.cn/DragonOS-Community/DADK.git --tag <版本号> --locked
 ```
 
 比如,对于0.2.0版本,您可以使用以下命令安装: `(注意版本号前面有个v)`
 ```shell
-cargo install --git https://git.mirrors.dragonos.org.cn/DragonOS-Community/DADK.git --tag v0.2.0
+cargo install --git https://git.mirrors.dragonos.org.cn/DragonOS-Community/DADK.git --tag v0.2.0 --locked
 ```
 
 ## 打包你的第一个应用
@@ -123,7 +123,7 @@ build-once = false
 #  (可选) 默认: false 是否只安装一次,如果为true,DADK会在安装成功后,不再重复安装
 install-once = false
 # 目标架构
-# 可选值:"x86_64", "aarch64", "riscv64"
+# 可选值:"x86_64", "aarch64", "riscv64", "loongarch64"
 target-arch = ["x86_64"]
 
 # 任务源