]> git.feebdaed.xyz Git - 0xmirror/msquic.git/commitdiff
Bump rust-toolchain from 1.90.0 to 1.91.1 (#5593)
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Wed, 19 Nov 2025 16:56:01 +0000 (08:56 -0800)
committerGitHub <noreply@github.com>
Wed, 19 Nov 2025 16:56:01 +0000 (08:56 -0800)
Bumps [rust-toolchain](https://github.com/rust-lang/rust) from 1.90.0 to
1.91.1.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: guhetier <15261469+guhetier@users.noreply.github.com>
.github/workflows/cargo.yml
rust-toolchain.toml
src/rs/config.rs

index b624d6a25bddca024e9c5fc99ee92df0c29df5f2..47a54e858b81ba1fc15d28ab72365650d4d80a8a 100644 (file)
@@ -49,7 +49,7 @@ jobs:
     - name: Install Rust
       uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
       with:
-        toolchain: 1.88.0
+        toolchain: 1.91.1
         components: rustfmt, clippy
     - name: Cargo fmt
       run: cargo fmt --all -- --check
@@ -140,7 +140,7 @@ jobs:
     - name: Install Rust
       uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
       with:
-        toolchain: 1.88.0
+        toolchain: 1.91.1
         components: rustfmt, clippy
     - name: Install msquic from apt
       run: |
index bb2eed773144b3b0cfea8ed3f1995659fb2c3f0b..6248673528e0bcf6ad22e55110083f7f00c1de42 100644 (file)
@@ -2,5 +2,5 @@
 # cargo + rustup will use this to consistently build the project
 # with the same version across all checkouts and environments
 [toolchain]
-channel = "1.90.0"
+channel = "1.91.1"
 profile = "default"
index 04fcf3d56a2f8f717c17a56bb322d73d8c7ec2a9..fb6e9fe463c863680d874db11b85759e9b8dfdf3 100644 (file)
@@ -41,20 +41,15 @@ impl RegistrationConfig {
 }
 
 /// Configures how to process a registration's workload.
-#[derive(Debug, PartialEq, Clone)]
+#[derive(Debug, PartialEq, Clone, Default)]
 pub enum ExecutionProfile {
+    #[default]
     LowLatency,
     MaxThroughput,
     Scavenger,
     RealTime,
 }
 
-impl Default for ExecutionProfile {
-    fn default() -> Self {
-        Self::LowLatency
-    }
-}
-
 impl From<ExecutionProfile> for crate::ffi::QUIC_EXECUTION_PROFILE {
     fn from(value: ExecutionProfile) -> Self {
         match value {
@@ -341,8 +336,9 @@ impl CertificatePkcs12 {
 }
 
 /// Type of credentials used for a connection.
-#[derive(Debug)]
+#[derive(Debug, Default)]
 pub enum Credential {
+    #[default]
     None,
     /// windows schannel only
     CertificateHash(CertificateHash),
@@ -358,12 +354,6 @@ pub enum Credential {
     CertificatePkcs12(CertificatePkcs12),
 }
 
-impl Default for Credential {
-    fn default() -> Self {
-        Self::None
-    }
-}
-
 bitflags::bitflags! {
 /// Modifies the default credential configuration.
 #[derive(Debug, Clone, Copy, PartialEq, Eq)]