Skip to content

Commit

Permalink
fix(codegen): Uses rustls over native-tls
Browse files Browse the repository at this point in the history
We discovered that in certain situations (particularly with cross compiling) when
including an interface using a path, the build would fail. This was due to
codegen using native-tls. Still not sure exactly _why_ this happened only during
build.rs stuff, but it did. Seeing as including a directory from a path could be
common in private monorepos, we switched out our dependencies so they no longer
used native-tls.

Once merged, this will need to be released as a patch fix

Signed-off-by: Taylor Thomas <[email protected]>
  • Loading branch information
thomastaylor312 committed Jan 8, 2022
1 parent e816815 commit 011bf38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weld-codegen"
version = "0.2.3"
version = "0.2.4"
edition = "2021"
authors = [ "wasmcloud Team" ]
license = "Apache-2.0"
Expand Down Expand Up @@ -29,13 +29,13 @@ atelier_smithy = "0.2"
bytes = "1.0"
cfg-if = "1.0"
directories = "4.0"
downloader = "0.2"
downloader = { version = "0.2", features = ["rustls-tls"], default-features = false }
handlebars = "4.0"
Inflector = "0.11"
lazy_static = "1.4"
lexical-sort = "0.3"
minicbor = { version = "0.11", features = ["derive", "std", "half" ] }
reqwest = { version = "0.11", features = [ "blocking" ] }
reqwest = { version = "0.11", default-features = false, features = [ "blocking", "rustls-tls" ] }
rustc-hash = { version = "1.1", default_features = false }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
Expand Down

0 comments on commit 011bf38

Please sign in to comment.