Skip to content

Commit

Permalink
feat: use cross to compile and release (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiroaisen authored Jan 11, 2024
2 parents 1bbabde + fc31790 commit cedbd72
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 202 deletions.
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[build]
rustflags = ["--cfg", "tokio_unstable"]
# target="x86_64-unknown-linux-musl"
# limit on parallel jobs to prevent os crash
jobs = 12
192 changes: 0 additions & 192 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion rs/internal-scripts/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ hyper = { version = "0.14.27", features = ["full"] }
jemallocator = "0.5.0"
lazy_static = "1.4.0"
rand = "0.8.5"
reqwest = { version = "0.11.12", features = ["rustls"] }
reqwest = { version = "0.11", default-features = false, features = [ "rustls-tls" ] }
static_init = "1.0.3"
tokio = { version = "1.29.0", features = ["full"] }

Expand Down
2 changes: 1 addition & 1 deletion rs/internal-scripts/producer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ffmpeg = { version = "0.1.0", path = "../../packages/ffmpeg" }
futures = "0.1.14"
hyper = { version = "0.14.27", features = ["full"] }
multiqueue = "0.3.2"
reqwest = { version = "0.11.14", features = ["stream"] }
reqwest = { version = "0.11", default-features = false, features = ["stream", "rustls-tls"] }
serde_json = { version = "1.0", features = ["preserve_order"] }
stream-util = { version = "0.1.0", path = "../../packages/stream-util" }
thiserror = "1.0.38"
Expand Down
2 changes: 1 addition & 1 deletion rs/packages/ip/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
reqwest = { version = "0.11.12", features = [ "rustls-tls" ] }
reqwest = { version = "0.11", default-features = false, features = [ "rustls-tls", "rustls-tls" ] }
test-util = { version = "0.1.0", path = "../test-util" }
tokio = { version = "1.29.0", features = ["full"] }
11 changes: 10 additions & 1 deletion rs/packages/mailer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@ async-trait = "0.1.68"
css-inline = "0.8.5"
html2text = "0.5.1"
hyper = { version = "0.14.27", features = ["server", "full"] }
lettre = { version = "0.10.4", features = ["tokio1_rustls", "smtp-transport", "tokio1", "tokio1-rustls-tls", "native-tls", "builder", "tokio1-native-tls", "rustls-tls"], default-features = false }
lettre = { version = "0.10.4", features = [
"tokio1_rustls",
"smtp-transport",
"tokio1",
"tokio1-rustls-tls",
# "native-tls",
"builder",
# "tokio1-native-tls",
"rustls-tls"
], default-features = false }
nanohtml2text = "0.1.4"
prex = { version = "0.1.0", path = "../prex" }
serde = { version = "1.0.162", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion rs/packages/metre/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ serde_json = "1.0.104"
toml = "0.7.6"
serde_yaml = "0.9.25"
thiserror = "1.0.44"
reqwest = { version = "0.11.18", features = ["blocking"] }
reqwest = { version = "0.11", default-features = false, features = ["blocking", "rustls-tls"] }
2 changes: 1 addition & 1 deletion rs/packages/mp3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ keywords = ["mp3", "metadata"]
name = "mp3"

[dev-dependencies]
reqwest = { version = "0.11", features = ["blocking"] }
reqwest = { version = "0.11", default-features = false, features = ["blocking", "rustls-tls"] }
simplemad = "0.9"
2 changes: 1 addition & 1 deletion rs/packages/payments/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"

[dependencies]
constants = { version = "0.1.0", path = "../../config/constants" }
reqwest = { version = "0.11.18", features = ["rustls-tls", "serde_json", "json"] }
reqwest = { version = "0.11", default-features = false, features = ["rustls-tls", "serde_json", "json"] }
serde = { version = "1.0.163", features = ["derive"] }
serde_json = "1.0.96"
thiserror = "1.0.40"
Expand Down
Loading

0 comments on commit cedbd72

Please sign in to comment.