Skip to content

Commit

Permalink
Use upstream rustls
Browse files Browse the repository at this point in the history
no_std support has been merged

Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Apr 20, 2024
1 parent 09e5b67 commit 8c8e3d3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 26 deletions.
5 changes: 3 additions & 2 deletions Cargo.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ license = "BSD-2-Clause"
futures = { version = "0.3.28", default-features = false, features = ["async-await", "alloc"] }
httparse = { version = "1.8.0", default-features = false }
log = "0.4.17"
rustls = { version = "0.23.5", default-features = false, features = ["logging", "ring", "tls12"] }
rustls-pemfile = { version = "2.0.0", default-features = false }
sel4-async-block-io = { path = "../../../../../../sel4-async/block-io" }
sel4-async-block-io-fat = { path = "../../../../../../sel4-async/block-io/fat" }
Expand All @@ -32,12 +33,6 @@ sel4-async-unsync = { path = "../../../../../../sel4-async/unsync" }
sel4-panicking-env = { path = "../../../../../../sel4-panicking/env" }
webpki-roots = "0.26"

[dependencies.rustls]
git = "https://github.com/coliasgroup/rustls.git"
rev = "c16f1e9c72a92b00259929aaf4768eb36061d83f"
default-features = false
features = ["logging", "ring", "tls12"]

[dependencies.sel4-async-single-threaded-executor]
path = "../../../../../../sel4-async/single-threaded-executor"

Expand Down
7 changes: 1 addition & 6 deletions crates/sel4-async/network/rustls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,5 @@ license = "Apache-2.0 OR ISC OR MIT"

[dependencies]
log = "0.4.17"
rustls = { version = "0.23.5", default-features = false, features = ["logging", "ring", "tls12"] }
sel4-async-io = { path = "../../io" }

[dependencies.rustls]
git = "https://github.com/coliasgroup/rustls.git"
rev = "c16f1e9c72a92b00259929aaf4768eb36061d83f"
default-features = false
features = ["logging", "ring", "tls12"]
7 changes: 1 addition & 6 deletions crates/sel4-async/network/rustls/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,5 @@ license = "BSD-2-Clause"
getrandom = { version = "0.2.10", features = ["custom"] }
rand = { version = "0.8.5", default-features = false, features = ["small_rng"] }
ring = { version = "=0.17.8", features = ["less-safe-getrandom-custom-or-rdrand"] }
rustls = { version = "0.23.5", default-features = false, features = ["logging", "ring", "tls12"] }
sel4-async-time = { path = "../../../time" }

[dependencies.rustls]
git = "https://github.com/coliasgroup/rustls.git"
rev = "c16f1e9c72a92b00259929aaf4768eb36061d83f"
default-features = false
features = ["logging", "ring", "tls12"]
9 changes: 3 additions & 6 deletions hacking/cargo-manifest-management/manifest-scope.nix
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ in rec {
quote = "1.0.23";
rand = "0.8.5";
rustc_version = "0.4.0";
rustls = "0.23.5";
serde = "1.0.147";
serde_json = "1.0.87";
serde_yaml = "0.9.14";
Expand Down Expand Up @@ -192,12 +193,8 @@ in rec {
features = [ "less-safe-getrandom-custom-or-rdrand" ] ++ features;
};

rustlsSource = {
git = "https://github.com/coliasgroup/rustls.git";
rev = "c16f1e9c72a92b00259929aaf4768eb36061d83f";
};

rustlsWith = features: rustlsSource // {
rustlsWith = features: {
version = versions.rustls;
default-features = false;
features = [
"logging"
Expand Down

0 comments on commit 8c8e3d3

Please sign in to comment.