瀏覽代碼

macros: add crate Cargo.toml metadata

Signed-off-by: Zhouqi Jiang <[email protected]>
Zhouqi Jiang 1 年之前
父節點
當前提交
156246bc3c
共有 2 個文件被更改,包括 13 次插入3 次删除
  1. 1 1
      Cargo.toml
  2. 12 2
      macros/Cargo.toml

+ 1 - 1
Cargo.toml

@@ -19,7 +19,7 @@ exclude = ["/.github"]
 [dependencies]
 sbi-spec = "0.0.7-alpha.2"
 riscv = { version = "0.10.1", optional = true }
-rustsbi-macros = { path = "macros" }
+rustsbi-macros = { version = "0.4.0-alpha.1", path = "macros" }
 static_assertions = "1.1.0"
 
 [features]

+ 12 - 2
macros/Cargo.toml

@@ -1,6 +1,16 @@
 [package]
 name = "rustsbi-macros"
-version = "0.1.0"
+description = "Proc-macros for RustSBI, a RISC-V SBI implementation library in Rust"
+version = "0.4.0-alpha.1"
+authors = [
+    "Luo Jia <[email protected]>",
+]
+repository = "https://github.com/rustsbi/rustsbi"
+documentation = "https://docs.rs/rustsbi"
+license = "MulanPSL-2.0 OR MIT"
+readme = "../README.md"
+keywords = ["riscv", "sbi", "rustsbi"]
+categories = ["os", "embedded", "hardware-support", "no-std"]
 edition = "2021"
 
 [lib]
@@ -14,5 +24,5 @@ syn = "2.0.39"
 
 [features]
 default = []
-# Run RustSBI macros on machine mode - See Cargo.toml in root project
+# Run RustSBI macros on machine mode - See Cargo.toml in RustSBI root project
 machine = []