-
Notifications
You must be signed in to change notification settings - Fork 307
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update crates dependencies to use git or crates.io version
- Loading branch information
1 parent
5a05e29
commit 7dec406
Showing
66 changed files
with
461 additions
and
719 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,40 +2,6 @@ | |
resolver = "2" | ||
|
||
members = [ | ||
"crates/allocator", | ||
"crates/arm_gic", | ||
"crates/arm_pl011", | ||
"crates/dw_apb_uart", | ||
"crates/axerrno", | ||
"crates/axfs_devfs", | ||
"crates/axfs_ramfs", | ||
"crates/axfs_vfs", | ||
"crates/axio", | ||
"crates/capability", | ||
"crates/crate_interface", | ||
"crates/driver_block", | ||
"crates/driver_common", | ||
"crates/driver_display", | ||
"crates/driver_net", | ||
"crates/driver_pci", | ||
"crates/driver_virtio", | ||
"crates/flatten_objects", | ||
"crates/handler_table", | ||
"crates/kernel_guard", | ||
"crates/lazy_init", | ||
"crates/linked_list", | ||
"crates/memory_addr", | ||
"crates/page_table", | ||
"crates/page_table_entry", | ||
"crates/percpu", | ||
"crates/percpu_macros", | ||
"crates/ratio", | ||
"crates/scheduler", | ||
"crates/slab_allocator", | ||
"crates/spinlock", | ||
"crates/timer_list", | ||
"crates/tuple_for_each", | ||
|
||
"modules/axalloc", | ||
"modules/axconfig", | ||
"modules/axdisplay", | ||
|
@@ -72,8 +38,35 @@ members = [ | |
"apps/task/tls", | ||
] | ||
|
||
[workspace.package] | ||
version = "0.1.0" | ||
authors = ["Yuekai Jia <[email protected]>"] | ||
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0" | ||
homepage = "https://github.com/arceos-org/arceos" | ||
documentation = "https://arceos-org.github.io/arceos" | ||
repository = "https://github.com/arceos-org/arceos" | ||
keywords = ["arceos", "kernel"] | ||
categories = ["os", "no-std"] | ||
|
||
[workspace.dependencies] | ||
axstd = { path = "ulib/axstd" } | ||
axlibc = { path = "ulib/axlibc" } | ||
|
||
arceos_api = { path = "api/arceos_api" } | ||
arceos_posix_api = { path = "api/arceos_posix_api" } | ||
axfeat = { path = "api/axfeat" } | ||
|
||
axalloc = { path = "modules/axalloc" } | ||
axconfig = { path = "modules/axconfig" } | ||
axdisplay = { path = "modules/axdisplay" } | ||
axdriver = { path = "modules/axdriver" } | ||
axfs = { path = "modules/axfs" } | ||
axhal = { path = "modules/axhal" } | ||
axlog = { path = "modules/axlog" } | ||
axnet = { path = "modules/axnet" } | ||
axruntime = { path = "modules/axruntime" } | ||
axsync = { path = "modules/axsync" } | ||
axtask = { path = "modules/axtask" } | ||
|
||
[profile.release] | ||
lto = true | ||
|
||
[patch.crates-io] | ||
crate_interface = { path = "crates/crate_interface" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ authors = ["Shiping Yuan <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axstd = { path = "../../ulib/axstd", features = ["display"], optional = true } | ||
axstd = { workspace = true, features = ["display"], optional = true } | ||
embedded-graphics = "0.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axstd = { path = "../../ulib/axstd", optional = true } | ||
axstd = { workspace = true, optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axstd = { path = "../../ulib/axstd", optional = true } | ||
axstd = { workspace = true, optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
|
||
[dependencies] | ||
rand = { version = "0.8", default-features = false, features = ["small_rng"] } | ||
axstd = { path = "../../ulib/axstd", features = ["alloc"], optional = true } | ||
axstd = { workspace = true, features = ["alloc"], optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ authors = ["ChengXiang Qi <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axstd = { path = "../../../ulib/axstd", features = ["net"] } | ||
axstd = { workspace = true, features = ["net"] } | ||
axnet = { path = "../../../modules/axnet" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axstd = { path = "../../../ulib/axstd", features = ["alloc", "multitask", "net"], optional = true } | ||
axstd = { workspace = true, features = ["alloc", "multitask", "net"], optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ authors = ["Yuekai Jia <[email protected]>", "Dashuai Wu <wudashuaijss@foxma | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axstd = { path = "../../../ulib/axstd", features = ["net"], optional = true } | ||
axstd = { workspace = true, features = ["net"], optional = true } | ||
|
||
[features] | ||
default = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axstd = { path = "../../../ulib/axstd", features = ["alloc", "multitask", "net"], optional = true } | ||
axstd = { workspace = true, features = ["alloc", "multitask", "net"], optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ edition = "2021" | |
authors = ["Dashuai Wu <[email protected]>"] | ||
|
||
[dependencies] | ||
axstd = { path = "../../../ulib/axstd", features = ["net"], optional = true } | ||
axstd = { workspace = true, features = ["net"], optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
|
||
[dependencies] | ||
rand = { version = "0.8", default-features = false, features = ["small_rng"] } | ||
axstd = { path = "../../../ulib/axstd", features = ["alloc", "multitask", "irq"], optional = true } | ||
axstd = { workspace = true, features = ["alloc", "multitask", "irq"], optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axstd = { path = "../../../ulib/axstd", features = ["multitask", "irq"], optional = true } | ||
axstd = { workspace = true, features = ["multitask", "irq"], optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ authors = ["Yuekai Jia <[email protected]>"] | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
axstd = { path = "../../../ulib/axstd", features = ["tls", "alloc", "multitask"], optional = true } | ||
axstd = { workspace = true, features = ["tls", "alloc", "multitask"], optional = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.