Skip to content

Commit

Permalink
Update dependencies, bump to v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
equation314 committed Jan 19, 2025
1 parent d385519 commit 49d49ab
Show file tree
Hide file tree
Showing 7 changed files with 161 additions and 11 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/target
/.vscode
.DS_Store
Cargo.lock
149 changes: 149 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ members = [
]

[workspace.package]
version = "0.5.0"
version = "0.5.1"
edition = "2024"
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/page_table_multiarch"
repository = "https://github.com/arceos-org/page_table_multiarch"
keywords = ["arceos", "paging", "page-table", "virtual-memory"]
categories = ["os", "hardware-support", "memory-management", "no-std"]
rust-version = "1.85"
5 changes: 3 additions & 2 deletions page_table_entry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[package]
name = "page_table_entry"
edition = "2024"
description = "Page table entry definition for various hardware architectures"
documentation = "https://docs.rs/page_table_entry"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true

[features]
arm-el2 = []
Expand All @@ -19,7 +20,7 @@ bitflags = "2.6"
memory_addr = "0.3"

[target.'cfg(any(target_arch = "aarch64", doc))'.dependencies]
aarch64-cpu = "9.4"
aarch64-cpu = "10.0"

[target.'cfg(any(target_arch = "x86_64", doc))'.dependencies]
x86_64 = "0.15.2"
Expand Down
3 changes: 1 addition & 2 deletions page_table_entry/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![cfg_attr(not(test), no_std)]
#![feature(doc_auto_cfg)]
#![feature(doc_cfg)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc = include_str!("../README.md")]

mod arch;
Expand Down
7 changes: 4 additions & 3 deletions page_table_multiarch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
[package]
name = "page_table_multiarch"
edition = "2024"
description = "Generic page table structures for various hardware architectures"
documentation = "https://docs.rs/page_table_multiarch"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
keywords.workspace = true
categories.workspace = true
rust-version.workspace = true

[dependencies]
log = "0.4"
memory_addr = "0.3"
page_table_entry = { path = "../page_table_entry", version = "0.5.0" }
page_table_entry = { path = "../page_table_entry", version = "0.5.1" }

[target.'cfg(any(target_arch = "x86_64", doc))'.dependencies]
x86 = "0.52"

[target.'cfg(any(target_arch = "riscv32", target_arch = "riscv64", doc))'.dependencies]
riscv = "0.11"
riscv = { version = "0.12", default-features = false }

[package.metadata.docs.rs]
rustc-args = [ "--cfg" , "doc"]
3 changes: 1 addition & 2 deletions page_table_multiarch/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![cfg_attr(not(test), no_std)]
#![feature(const_trait_impl)]
#![feature(doc_auto_cfg)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![doc = include_str!("../README.md")]

#[macro_use]
Expand Down

0 comments on commit 49d49ab

Please sign in to comment.