Skip to content

Commit

Permalink
chore(deps): update dependencies (#97)
Browse files Browse the repository at this point in the history
* Update dependencies.

* fix: suppress clippy lints

* chore(bridge): update gloo changes
  • Loading branch information
futursolo authored Jun 30, 2023
1 parent 2977456 commit b0a48bd
Show file tree
Hide file tree
Showing 14 changed files with 720 additions and 495 deletions.
1,127 changes: 676 additions & 451 deletions Cargo.lock

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions crates/stctl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ homepage = "https://github.com/futursolo/stellation"
license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0.69"
clap = { version = "4.1.4", features = ["derive"] }
serde = { version = "1.0.152", features = ["derive"] }
tokio = { version = "1.25.0", features = ["full"] }
toml = "0.7.3"
anyhow = "1.0.71"
clap = { version = "4.3.10", features = ["derive"] }
serde = { version = "1.0.164", features = ["derive"] }
tokio = { version = "1.29.1", features = ["full"] }
toml = "0.7.5"
tracing = { version = "0.1.37" }
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
notify = "5.1.0"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
notify = "6.0.1"
futures = { version = "0.3", features = ["std", "async-await"], default-features = false }
cargo_metadata = "0.15"
serde_json = "1.0.96"
dotenvy = "0.15.6"
serde_json = "1.0.99"
dotenvy = "0.15.7"
time = "0.3"
rand = "0.8.5"
indicatif = "0.17.3"
console = "0.15.5"
reqwest = { version = "0.11.14", features = ["rustls-tls-webpki-roots", "stream"] }
tokio-stream = { version = "0.1.11", features = ["fs", "sync"] }
webbrowser = "0.8.7"
indicatif = "0.17.5"
console = "0.15.7"
reqwest = { version = "0.11.18", features = ["rustls-tls-webpki-roots", "stream"] }
tokio-stream = { version = "0.1.14", features = ["fs", "sync"] }
webbrowser = "0.8.10"

# Stellation Components
stellation-core = { version = "0.2.0", path = "../stellation-core" }
Expand Down
8 changes: 4 additions & 4 deletions crates/stellation-backend-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ yew = { version = "0.20", features = ["ssr"] }

# Other Deps
anyhow = { version = "1" }
clap = { version = "4.1.4", features = ["derive", "env"] }
clap = { version = "4.3.10", features = ["derive", "env"] }
tracing = { version = "0.1.37" }
tracing-subscriber = { version = "0.3.16", features = ["env-filter"] }
console = "0.15.5"
typed-builder = "0.12.0"
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
console = "0.15.7"
typed-builder = "0.14.0"

[package.metadata.docs.rs]
all-features = true
Expand Down
4 changes: 2 additions & 2 deletions crates/stellation-backend-tower/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ homepage = "https://github.com/futursolo/stellation"
license = "MIT OR Apache-2.0"

[dependencies]
hyper = { version = "0.14.24", features = ["runtime", "server", "http1"] }
hyper = { version = "0.14.27", features = ["runtime", "server", "http1"] }
tower = { version = "0.4", features = ["util"] }
tokio = { version = "1" }
futures = { version = "0.3", default-features = false, features = ["std"] }
yew = { version = "0.20", features = ["ssr"] }
warp = { version = "0.3.3", default-features = false }
warp = { version = "0.3.5", default-features = false }

# Stellation Components
stellation-backend-warp = { version = "0.2.0", path = "../stellation-backend-warp" }
Expand Down
12 changes: 6 additions & 6 deletions crates/stellation-backend-warp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,26 @@ license = "MIT OR Apache-2.0"
# Yew / Component Related
yew = { version = "0.20", features = ["ssr"] }
yew-router = "0.17"
bounce = { version = "0.6", features = ["helmet", "ssr"] }
bounce = { version = "0.7", features = ["helmet", "ssr"] }

# Stellation Components
stellation-backend = { version = "0.2.0", path = "../stellation-backend" }
stellation-bridge = { version = "0.2.0", path = "../stellation-bridge", features = ["resolvable"] }

# HTTP
hyper = { version = "0.14.24", features = ["runtime", "server", "http1"] }
warp = { version = "0.3.3", default-features = false, features = ["websocket"] }
hyper = { version = "0.14.27", features = ["runtime", "server", "http1"] }
warp = { version = "0.3.5", default-features = false, features = ["websocket"] }
serde_urlencoded = "0.7.1"
bytes = { version = "1" }
http = { version = "0.2" }
rust-embed = { version = "6.4.2" }
rust-embed = { version = "6.7.0" }
mime_guess = "2.0.4"
lol_html = "0.3.2"
lol_html = "1.0.1"

# Other
futures = { version = "0.3", default-features = false, features = ["std"] }
tokio = { version = "1" }
once_cell = "1.17.1"
once_cell = "1.18.0"
tracing = { version = "0.1.37" }
rand = "0.8.5"

Expand Down
4 changes: 2 additions & 2 deletions crates/stellation-backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ futures = { version = "0.3", default-features = false, features = ["std"] }
serde = { version = "1", features = ["derive"] }
thiserror = "1"
thread_local = "1.1.7"
lol_html = "0.3.2"
lol_html = "1.0.1"
serde_urlencoded = "0.7.1"

# Stellation Components
Expand All @@ -28,7 +28,7 @@ stellation-core = { version = "0.2.0", path = "../stellation-core" }

# Yew / Component Related
yew = { version = "0.20", features = ["ssr"] }
bounce = { version = "0.6", features = ["helmet", "ssr"] }
bounce = { version = "0.7", features = ["helmet", "ssr"] }
yew-router = "0.17"

[package.metadata.docs.rs]
Expand Down
8 changes: 4 additions & 4 deletions crates/stellation-bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ homepage = "https://github.com/futursolo/stellation"
license = "MIT OR Apache-2.0"

[dependencies]
async-trait = "0.1.64"
async-trait = "0.1.68"
serde = { version = "1", features = ["derive"] }
futures = { version = "0.3", default-features = false, features = ["std"] }
bincode = "1.3.3"
gloo-net = "0.2.6"
js-sys = "0.3.61"
gloo-net = "0.3.0"
js-sys = "0.3.64"
thiserror = "1"
bounce = { version = "0.6.1", features = ["query"] }
bounce = { version = "0.7.0", features = ["query"] }
yew = "0.20.0"

[features]
Expand Down
8 changes: 4 additions & 4 deletions crates/stellation-bridge/src/bridge/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ impl fmt::Debug for BridgeBuilder {
#[cfg(feature = "resolvable")]
mod feat_resolvable {
use std::any::Any;
use std::marker::PhantomData;
use std::rc::Rc;
use std::sync::Arc;

Expand Down Expand Up @@ -211,6 +212,7 @@ mod feat_resolvable {
where
T: 'static + Selector + AsRef<str>,
{
let _marker: PhantomData<T> = PhantomData;
self
}
}
Expand Down Expand Up @@ -257,15 +259,13 @@ mod not_feat_resolvable {
let incoming = bincode::serialize(&incoming)?;

let input = Uint8Array::from(incoming.as_slice());
let mut req = Request::post("/_bridge")
.header("content-type", "application/x-bincode")
.body(input);
let mut req = Request::post("/_bridge").header("content-type", "application/x-bincode");

if let Some(m) = self.metadata.token() {
req = req.header("authorization", &format!("Bearer {m}"));
}

let resp = req.send().await?;
let resp = req.body(input)?.send().await?;

resp.binary().await.map_err(|m| m.into())
}
Expand Down
2 changes: 1 addition & 1 deletion crates/stellation-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.96"
serde_json = "1.0.99"

[package.metadata.docs.rs]
all-features = true
Expand Down
4 changes: 2 additions & 2 deletions crates/stellation-frontend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ license = "MIT OR Apache-2.0"

[dependencies]
yew = { version = "0.20", features = ["csr", "hydration"] }
bounce = { version = "0.6", features = ["helmet"] }
bounce = { version = "0.7", features = ["helmet"] }
yew-router = "0.17"
tracing = "0.1"
tracing-web = "0.1.2"
tracing-subscriber = { version = "0.3.16", default-features = false, features = ["time", "std", "fmt", "ansi"] }
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["time", "std", "fmt", "ansi"] }

# Stellation Components
stellation-bridge = { version = "0.2.0", path = "../stellation-bridge" }
Expand Down
2 changes: 1 addition & 1 deletion examples/fullstack/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish = false
stellation-bridge = { version = "0.2.0", path = "../../../crates/stellation-bridge" }
time = { version = "0.3", features = ["wasm-bindgen", "serde-human-readable"] }
serde = { version = "1", features = ["derive"] }
async-trait = "0.1.64"
async-trait = "0.1.68"
thiserror = "1"

[features]
Expand Down
2 changes: 1 addition & 1 deletion examples/fullstack/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gloo = "0.8"

# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3.16", default-features = false, features = ["time", "std", "fmt", "ansi"] }
tracing-subscriber = { version = "0.3.17", default-features = false, features = ["time", "std", "fmt", "ansi"] }

# Example Workspace
example-fullstack-view = { path = "../view" }
Expand Down
4 changes: 2 additions & 2 deletions examples/fullstack/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false

[dependencies]
anyhow = "1"
tokio = { version = "1.25.0", features = ["full"] }
tokio = { version = "1.29.1", features = ["full"] }
tracing = { version = "0.1.37" }
yew = "0.20.0"

Expand All @@ -20,4 +20,4 @@ stellation-backend-cli = { version = "0.2.0", path = "../../../crates/stellation
# Example Workspace
example-fullstack-view = { path = "../view" }
example-fullstack-api = { path = "../api", features = ["resolvable"] }
rust-embed = { version = "6.4.2", features = ["interpolate-folder-path"] }
rust-embed = { version = "6.7.0", features = ["interpolate-folder-path"] }
2 changes: 1 addition & 1 deletion examples/fullstack/view/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ example-fullstack-api = { path = "../api" }
stellation-bridge = { version = "0.2.0", path = "../../../crates/stellation-bridge" }
time = { version = "0.3", features = ["wasm-bindgen", "serde-human-readable", "macros"] }
tracing = "0.1.37"
bounce = { version = "0.6.1", features = ["helmet"] }
bounce = { version = "0.7.0", features = ["helmet"] }

[dependencies.web-sys]
version = "0.3"
Expand Down

0 comments on commit b0a48bd

Please sign in to comment.