Skip to content

Commit

Permalink
chore: update reqwest and tokio version and other dependencies (#1510)
Browse files Browse the repository at this point in the history
* chore: update reqwest and tokio version, as well as some other dependencies

* chore: update ratatui

* chore: udgrade ctrlc
  • Loading branch information
hugocaillard authored Jul 18, 2024
1 parent ce1ffea commit bce1a30
Show file tree
Hide file tree
Showing 9 changed files with 218 additions and 258 deletions.
429 changes: 200 additions & 229 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ version = "2.7.0"
chainhook-sdk = { git = "https://github.com/hirosystems/chainhook.git" }
chainhook-types = { git = "https://github.com/hirosystems/chainhook.git" }
stacks-codec = { path = "./components/stacks-codec" }

[workspace.dependencies]
reqwest = { version = "0.12", default-features = false, features = [
"json",
"rustls-tls",
] }
10 changes: 3 additions & 7 deletions components/clarinet-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,15 @@ libc = "0.2.86"
encoding_rs = "0.8.31"
percent-encoding = "2.1.0"
pin-project = "1.0.5"
reqwest = { version = "0.11", default-features = false, features = [
"blocking",
"json",
"rustls-tls",
] }
reqwest = { workspace = true, features = ["blocking"]}
crossterm = "0.27.0"
ratatui = { version = "0.25.0", default-features = false, features = ["crossterm"] }
ratatui = { version = "0.27.0", default-features = false, features = ["crossterm"] }
base58 = "0.2.0"
ctrlc = "3.1.9"
strum = { version = "0.23.0", features = ["derive"] }
bitcoin = "0.29.2"
tiny-hderive = "0.3.0"
segment = { version = "0.1.2", optional = true }
segment = { version = "0.2.4", optional = true }
mac_address = { version = "1.1.2", optional = true }
tower-lsp = { version = "0.19.0", optional = true }
hex = "0.4.3"
Expand Down
5 changes: 1 addition & 4 deletions components/clarinet-deployments/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ clarinet-files = { path = "../clarinet-files", default-features = false }
stacks-rpc-client = { path = "../stacks-rpc-client", optional = true }

# CLI
reqwest = { version = "0.11", default-features = false, features = [
"json",
"rustls-tls",
] }
reqwest = { workspace = true }
bitcoin = { version = "0.29.2", optional = true }
bitcoincore-rpc = { version = "0.16.0", optional = true }
bitcoincore-rpc-json = { version = "0.16.0", optional = true }
Expand Down
5 changes: 1 addition & 4 deletions components/clarity-repl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ memchr = { version = "2.4.1", optional = true }
pico-args = { version = "0.5.0", optional = true }
rustyline = { version = "14.0.0", optional = true }
hiro_system_kit = { version = "0.1.0", package = "hiro-system-kit", path = "../hiro-system-kit", default-features = false }
reqwest = { version = "0.11", default-features = false, features = [
"json",
"rustls-tls",
] }
reqwest = { workspace = true }

[dev-dependencies]
test-case = "*"
Expand Down
2 changes: 1 addition & 1 deletion components/stacks-codec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ description = "Stack wire format implementation"
clarity = { git = "https://github.com/stacks-network/stacks-core.git", branch="feat/clarity-wasm-develop", package = "clarity", default-features = false, features = ["canonical", "developer-mode", "log"] }

serde = { version = "1", features = ["derive"] }
wsts = { version = "8.1.0", default-features = false }
wsts = { version = "9.0.0", default-features = false }
8 changes: 2 additions & 6 deletions components/stacks-network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,10 @@ tracing = "0.1"
tracing-subscriber = "0.3.3"
tracing-appender = "0.2.0"
ctrlc = "3.1.9"
reqwest = { version = "0.11", default-features = false, features = [
"blocking",
"json",
"rustls-tls",
] }
reqwest = { workspace = true, features = ["blocking"] }
crossbeam-channel = "0.5.6"
crossterm = { version = "0.27.0" }
ratatui = { version = "0.25.0", default-features = false, features = ["crossterm"] }
ratatui = { version = "0.27.0", default-features = false, features = ["crossterm"] }
chrono = "0.4.31"
futures = "0.3.12"
base58 = "0.2.0"
Expand Down
5 changes: 3 additions & 2 deletions components/stacks-network/src/ui/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ fn draw_devnet_status(f: &mut Frame, app: &mut App, area: Rect) {
}

fn draw_blocks(f: &mut Frame, app: &mut App, area: Rect) {
let t = Table::new(vec![], vec![] as Vec<&Constraint>)
let t = Table::default()
.widths(vec![] as Vec<&Constraint>)
.block(Block::default().borders(Borders::ALL))
.style(Style::default().fg(Color::White));
f.render_widget(t, area);
Expand All @@ -131,7 +132,7 @@ fn draw_blocks(f: &mut Frame, app: &mut App, area: Rect) {
.constraints([Constraint::Length(1), Constraint::Min(1)].as_ref())
.split(area);

let titles = app.tabs.titles.iter().cloned().collect();
let titles = app.tabs.titles.iter().cloned();
let blocks = Tabs::new(titles)
.block(Block::default().borders(Borders::NONE))
.divider(symbols::line::HORIZONTAL)
Expand Down
6 changes: 1 addition & 5 deletions components/stacks-rpc-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,7 @@ edition = "2021"
serde = "1"
serde_json = "1"
serde_derive = "1"
reqwest = { version = "0.11", default-features = false, features = [
"blocking",
"json",
"rustls-tls",
] }
reqwest = { workspace = true, features = ["blocking"] }
hmac = "0.12.0"
pbkdf2 = { version = "0.12.2", features = ["simple"], default-features = false }
sha2 = "0.10.0"
Expand Down

0 comments on commit bce1a30

Please sign in to comment.