diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 52c901e..b910957 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -31,7 +31,7 @@ jobs: uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: profile: minimal - toolchain: nightly-2024-05-02 + toolchain: nightly-2024-07-19 override: true components: rust-src, rustfmt, clippy, llvm-tools-preview diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 634f52f..108c50a 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -22,7 +22,7 @@ jobs: uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: profile: minimal - toolchain: nightly-2024-05-02 + toolchain: nightly-2024-07-19 override: true components: clippy @@ -48,7 +48,7 @@ jobs: uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: profile: minimal - toolchain: nightly-2024-05-02 + toolchain: nightly-2024-07-19 override: true components: rustfmt - name: Cache @@ -81,7 +81,7 @@ jobs: uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: profile: minimal - toolchain: nightly-2024-05-02 + toolchain: nightly-2024-07-19 override: true components: rustfmt, clippy diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index b0a12e5..a895c81 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -37,7 +37,7 @@ jobs: uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: profile: minimal - toolchain: nightly-2024-05-02 + toolchain: nightly-2024-07-19 override: true components: rust-src, rustfmt, clippy, llvm-tools-preview - name: Checkout sources diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2f27d1d..fe4ade8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -65,7 +65,7 @@ jobs: uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1.0.7 with: profile: minimal - toolchain: nightly-2024-05-02 + toolchain: nightly-2024-07-19 override: true components: rust-src, rustfmt, clippy - name: Cache diff --git a/Cargo.lock b/Cargo.lock index dc886d7..7da2379 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -411,9 +411,12 @@ checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" [[package]] name = "deranged" -version = "0.3.8" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", +] [[package]] name = "dhat" @@ -1111,6 +1114,12 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "num-conv" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" + [[package]] name = "num-traits" version = "0.2.16" @@ -1221,6 +1230,12 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "powerfmt" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" + [[package]] name = "ppv-lite86" version = "0.2.17" @@ -1784,14 +1799,16 @@ checksum = "3bf63baf9f5039dadc247375c29eb13706706cfde997d0330d05aa63a77d8820" [[package]] name = "time" -version = "0.3.28" +version = "0.3.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48" +checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" dependencies = [ "deranged", "itoa", "libc", + "num-conv", "num_threads", + "powerfmt", "serde", "time-core", "time-macros", @@ -1799,16 +1816,17 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.14" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a942f44339478ef67935ab2bbaec2fb0322496cf3cbe84b261e06ac3814c572" +checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" dependencies = [ + "num-conv", "time-core", ] diff --git a/README.md b/README.md index 0d5761e..aed0a30 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ sh_script/pre-build.sh 1. Install [RUST](https://www.rust-lang.org/) -Please use nightly-2024-05-02. +Please use nightly-2024-07-19. 2. Install [NASM](https://www.nasm.us/) diff --git a/executor/Cargo.toml b/executor/Cargo.toml index b2d1186..c8053ef 100644 --- a/executor/Cargo.toml +++ b/executor/Cargo.toml @@ -11,3 +11,4 @@ woke = "0" spin = "0" [features] +std = [] \ No newline at end of file diff --git a/idekm/Cargo.toml b/idekm/Cargo.toml index fc78035..71e3e58 100644 --- a/idekm/Cargo.toml +++ b/idekm/Cargo.toml @@ -21,4 +21,5 @@ conquer-once = { version = "0.3.2", default-features = false } maybe-async = "0.2.7" [features] -is_sync = ["spdmlib/is_sync", "maybe-async/is_sync"] \ No newline at end of file +is_sync = ["spdmlib/is_sync", "maybe-async/is_sync"] +std = [] \ No newline at end of file diff --git a/rust-toolchain b/rust-toolchain index 7a5fe26..48e3185 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2024-05-02 \ No newline at end of file +nightly-2024-07-19 \ No newline at end of file diff --git a/tdisp/Cargo.toml b/tdisp/Cargo.toml index fa201af..f2ce346 100644 --- a/tdisp/Cargo.toml +++ b/tdisp/Cargo.toml @@ -23,3 +23,4 @@ maybe-async = "0.2.7" [features] is_sync = ["spdmlib/is_sync", "maybe-async/is_sync"] +std = []