Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZR233 committed Jan 21, 2025
1 parent 7d30b15 commit 1ef72f8
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
resolver = "3"
resolver = "2"
members = ["app/*", "crates/*"]

[workspace.package]
Expand Down
2 changes: 1 addition & 1 deletion crates/bare-test-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bare-test-macros"
version = "0.2.0"
edition = "2021"
edition.workspace = true
license = "MIT"
description = "macros for bare-test"
authors = ["周睿 <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion crates/bare-test-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extern crate proc_macro2;
extern crate syn;

use proc_macro::TokenStream;
use syn::{parse, spanned::Spanned, Item, ItemMod};
use syn::{Item, ItemMod, parse, spanned::Spanned};

#[proc_macro]
pub fn build_test_setup(_input: TokenStream) -> TokenStream {
Expand Down
2 changes: 1 addition & 1 deletion crates/bare-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "bare-test"
version = "0.3.1"
authors = ["Zhourui <[email protected]>"]
edition = "2021"
edition.workspace = true
repository = "https://github.com/qclic/sparreal-os/tree/main/crates/bare-test"
license = "MPL-2.0"
description = "A test framework for bare metal."
Expand Down
2 changes: 1 addition & 1 deletion crates/driver-interface/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "driver-interface"
version = "0.2.0"
authors = ["Zhourui <[email protected]>"]
edition = "2021"
edition.workspace = true
repository = "https://github.com/qclic/sparreal-os"
license = "MPL-2.0"
description = "Sparreal OS kernel"
Expand Down
2 changes: 1 addition & 1 deletion crates/driver-interface/src/interrupt_controller.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use core::{error::Error, fmt::Debug};

use crate::{custom_type, DriverGeneric, RegAddress};
use crate::{DriverGeneric, RegAddress, custom_type};
use alloc::{boxed::Box, vec::Vec};

custom_type!(IrqId, usize, "{:#x}");
Expand Down
4 changes: 2 additions & 2 deletions crates/driver-interface/src/timer/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use core::{
sync::atomic::{fence, Ordering},
sync::atomic::{Ordering, fence},
time::Duration,
};

use crate::{interrupt_controller::IrqConfig, DriverGeneric};
use crate::{DriverGeneric, interrupt_controller::IrqConfig};
use alloc::{boxed::Box, vec::Vec};

mod queue;
Expand Down
2 changes: 1 addition & 1 deletion crates/page-table-arm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "page-table-arm"
description = "A library of arm page table"
version = "0.1.0"
edition = "2024"
edition.workspace = true
authors = ["周睿 <[email protected]>"]
repository = "https://github.com/qclic/sparreal-os/tree/main/crates/page-table-arm"
documentation = "https://docs.rs/page-table-arm"
Expand Down
2 changes: 1 addition & 1 deletion crates/sparreal-kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "sparreal-kernel"
version.workspace = true
authors = ["周睿 <[email protected]>"]
edition = "2024"
edition.workspace = true
repository = "https://github.com/ZR233/sparreal-os"
license = "MPL-2.0"
description = "Sparreal OS kernel"
Expand Down
1 change: 1 addition & 0 deletions crates/sparreal-kernel/src/async_std/time.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use core::future::Future;
use core::time::Duration;

use crate::time::since_boot;
Expand Down
2 changes: 1 addition & 1 deletion crates/sparreal-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sparreal-macros"
version.workspace = true
edition = "2024"
edition.workspace = true
license = "MIT"
description = "macros for sparreal"
authors = ["周睿 <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion crates/sparreal-rt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "sparreal-rt"
version.workspace = true
authors = ["周睿 <[email protected]>"]
edition = "2024"
edition.workspace = true
repository = "https://github.com/ZR233/sparreal-os"
license = "MPL-2.0"
description = "Sparreal OS Runtime"
Expand Down

0 comments on commit 1ef72f8

Please sign in to comment.