Skip to content

Commit

Permalink
chore(fmt-clippy): revert rustminstack to 6mib and update http to 1.1…
Browse files Browse the repository at this point in the history
….0 instead of adding additional dependency
  • Loading branch information
pixincreate committed Apr 1, 2024
1 parent 6ee0327 commit b960e9f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Cargo.lock

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

3 changes: 1 addition & 2 deletions crates/pm_auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ router_env = { version = "0.1.0", path = "../router_env", features = ["log_extra
async-trait = "0.1.66"
bytes = "1.4.0"
error-stack = "0.4.1"
http = "0.2.9"
http = "1.1.0"
mime = "0.3.17"
reqwest = "0.12.2"
serde = "1.0.193"
serde_json = "1.0.108"
strum = { version = "0.24.1", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/pm_auth/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ pub enum ConnectorAuthType {

#[derive(Clone, Debug)]
pub struct Response {
pub headers: Option<reqwest::header::HeaderMap>,
pub headers: Option<http::HeaderMap>,
pub response: bytes::Bytes,
pub status_code: u16,
}
Expand Down
2 changes: 1 addition & 1 deletion crates/router/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ fn main() {
// Set thread stack size to 4 MiB for debug builds
// Reference: https://doc.rust-lang.org/std/thread/#stack-size
#[cfg(debug_assertions)]
println!("cargo:rustc-env=RUST_MIN_STACK=8388608"); // 6 * 1024 * 1024 = 6 MiB
println!("cargo:rustc-env=RUST_MIN_STACK=6291456"); // 6 * 1024 * 1024 = 6 MiB

#[cfg(feature = "vergen")]
router_env::vergen::generate_cargo_instructions();
Expand Down

0 comments on commit b960e9f

Please sign in to comment.