Use asterinas inventory

This commit is contained in:
Yuke Peng
2024-01-19 14:54:29 +08:00
committed by Tate, Hongliang Tian
parent 289483390a
commit 7b729de3a6
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View File

@ -570,7 +570,7 @@ dependencies = [
[[package]] [[package]]
name = "ctor" name = "ctor"
version = "0.1.25" version = "0.1.25"
source = "git+https://github.com/sdww0/rust-ctor#a6ee5e7a69cb368f00e7df00108028635fdf3fbd" source = "git+https://github.com/asterinas/rust-ctor#e30a5d960a3eccf79a7caddfa4de43b5dce424a0"
dependencies = [ dependencies = [
"quote", "quote",
"syn 1.0.109", "syn 1.0.109",
@ -857,7 +857,7 @@ dependencies = [
[[package]] [[package]]
name = "inventory" name = "inventory"
version = "0.3.3" version = "0.3.3"
source = "git+https://github.com/sdww0/inventory?rev=6356dc7#6356dc79fb15ae4e72ddb6fe826a3ea76d9046a5" source = "git+https://github.com/asterinas/inventory?rev=9dce587#9dce58712d1cd1e51ff067634d42b5c5fea29f48"
dependencies = [ dependencies = [
"ctor", "ctor",
"ghost", "ghost",

View File

@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
inventory = { git = "https://github.com/sdww0/inventory", rev = "6356dc7" } inventory = { git = "https://github.com/asterinas/inventory", rev = "9dce587" }
log = "0.4" log = "0.4"
component-macro = { path = "../component-macro" } component-macro = { path = "../component-macro" }