-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3/3] no-std support phase I #1502
Commits on Feb 26, 2024
-
Since aws-lc-rs doesn't support no-std it's moved from the default features to the std features. Similarly we must tweak our `once_cell` usage to provide the `race` feature for builds without `std`. See the upstream[0] docs section on "Does this crate support no_std?" for some important caveats. [0]: https://docs.rs/once_cell/latest/once_cell/
Configuration menu - View commit details
-
Copy full SHA for d24c976 - Browse repository at this point
Copy the full SHA d24c976View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddc4251 - Browse repository at this point
Copy the full SHA ddc4251View commit details
Commits on Feb 27, 2024
-
no-std: add TimeProvider to ClientConfig
For no-std users, the new `ClientConfig::builder_with_details()` must be used, which requires a `TimeProvider` implementation up-front. For std builds, the `ClientConfig` uses the `DefaultTimeProvider` for existing `ClientConfig::builder*` functions.
Configuration menu - View commit details
-
Copy full SHA for 39c8f74 - Browse repository at this point
Copy the full SHA 39c8f74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 256e3c7 - Browse repository at this point
Copy the full SHA 256e3c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 388396c - Browse repository at this point
Copy the full SHA 388396cView commit details -
no-std: add TimeProvider to ServerConfig
no-std users must use the new ServerConfig::builder_with_details(), which requires a `TimeProvider` to be provided up-front. For std builds, the `ServerConfig` uses the `DefaultTimeProvider` for existing, other `ServerConfig::builder*` functions.
Configuration menu - View commit details
-
Copy full SHA for 6b6042a - Browse repository at this point
Copy the full SHA 6b6042aView commit details -
no-std: remove ClientSessionMemoryCache
default Resumption to disabled
Configuration menu - View commit details
-
Copy full SHA for eb7fb3b - Browse repository at this point
Copy the full SHA eb7fb3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8504fa6 - Browse repository at this point
Copy the full SHA 8504fa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd7f37d - Browse repository at this point
Copy the full SHA dd7f37dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1bb5f2 - Browse repository at this point
Copy the full SHA b1bb5f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91fccea - Browse repository at this point
Copy the full SHA 91fcceaView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7853a7 - Browse repository at this point
Copy the full SHA d7853a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb8b92c - Browse repository at this point
Copy the full SHA bb8b92cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79826ba - Browse repository at this point
Copy the full SHA 79826baView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5543dc - Browse repository at this point
Copy the full SHA e5543dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b2aec7 - Browse repository at this point
Copy the full SHA 3b2aec7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73d7780 - Browse repository at this point
Copy the full SHA 73d7780View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe8ca37 - Browse repository at this point
Copy the full SHA fe8ca37View commit details -
Configuration menu - View commit details
-
Copy full SHA for b29cc29 - Browse repository at this point
Copy the full SHA b29cc29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63c788a - Browse repository at this point
Copy the full SHA 63c788aView commit details -
no-std: rm ServerSessionMemoryCache
will be back in phase II
Configuration menu - View commit details
-
Copy full SHA for fb4e967 - Browse repository at this point
Copy the full SHA fb4e967View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5ac277 - Browse repository at this point
Copy the full SHA f5ac277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49dd8f8 - Browse repository at this point
Copy the full SHA 49dd8f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90748ec - Browse repository at this point
Copy the full SHA 90748ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b5a434 - Browse repository at this point
Copy the full SHA 0b5a434View commit details -
crypto: use race::OnceBox for no-std support
When built w/ the `std` feature, the `DEFAULT_CRYPTO_PROVIDER` and assoc. fns use a standard `once_cell::sync::OnceCell`. When built w/o the `std` feature we use `once_cell::race::OnceBox`, requiring some minor adjustments to account for the expectation of storing a `Box<Arc<CryptoProvider>>` in place of a `Arc<CryptoProvider>`.
Configuration menu - View commit details
-
Copy full SHA for 8805236 - Browse repository at this point
Copy the full SHA 8805236View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2444558 - Browse repository at this point
Copy the full SHA 2444558View commit details