Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup dependencies and use workspace dependencies for share … #210

Merged
merged 5 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
981 changes: 404 additions & 577 deletions Cargo.lock

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,16 @@ opt-level = 3

[workspace]
members = ["cli", "sdk", "telemetry", "telemetry-macro"]

[workspace.dependencies]
tokio = { version = "1.28.2", features = ["full"] }
owo-colors = "3.5.0"
serde = { version = "1.0.164", features = ["serde_derive"] }
serde_json = "1.0"
toml = "0.7.5"
thiserror = "1.0.40"
chrono = { version = "0.4.35", default-features = false }
base64 = "0.21.0"
reqwest = "0.11.11"
miette = { version = "5.10.0", features = ["fancy"] }
strum = { version = "0.26.1", features = ["derive"] }
31 changes: 15 additions & 16 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ harness = false

[dependencies]
wukong-sdk = { path = "../sdk/" }

clap = { version = "4.3.8", features = ["derive", "wrap_help", "cargo"] }
clap = { version = "4.5.3", features = ["derive", "wrap_help", "cargo"] }
clap_complete = "4.3.1"
dialoguer = "0.10.4"
indicatif = { version = "0.17.5", features = ["rayon"] }
tabled = { version = "0.10.0", features = ["color"] }
tokio = { version = "1.28.2", features = ["full"] }
owo-colors = "3.5.0"
serde = { version = "1.0.164", features = ["serde_derive"] }
serde_json = "1.0"

tokio.workspace = true
owo-colors.workspace = true
serde.workspace = true
serde_json.workspace = true
toml.workspace = true

once_cell = "1.18.0"
crossterm = "0.27"
ratatui = { version = "0.23.0", features = ["all-widgets"] }
Expand All @@ -33,27 +35,24 @@ textwrap = "0.16.0"
# logging
log = { version = "0.4.19", features = ["std"] }
clap-verbosity-flag = "2.0.0"
thiserror = "1.0.40"
thiserror.workspace = true
dirs = "5.0.1"
toml = "0.7.5"
aion = "0.2.0"
url = "2.3.1"
openidconnect = "3.3.0"
chrono = { version = "0.4.35", default-features = false, features = ["std"] }
chrono.workspace = true

human-panic = "1.1.5"
time-humanize = "0.1.3"
chrono-tz = "0.8.1"
regex = "1.7.0"
edit = "0.1.4"
base64 = "0.21.0"
reqwest = "0.11.11"
base64.workspace = true
reqwest.workspace = true
yup-oauth2 = "8.3.0"
webbrowser = "0.8"
prost = "0.11.9"
tonic = { version = "0.9.2", features = ["tls", "tls-webpki-roots"] }
prost-types = "0.11.8"
miette = { version = "5.10.0", features = ["fancy"] }
async-trait = "0.1.78"
miette.workspace = true
ignore = "0.4.20"
rayon = "1.7.0"
similar = { version = "2.2.1", features = ["inline"] }
Expand All @@ -67,7 +66,7 @@ anyhow = "1.0.79"
heck = "0.4.1"
serde_yaml = "0.9.31"
inquire = { version = "0.6.2", features = ["editor"] }
strum = { version = "0.26.1", features = ["derive"] }
strum.workspace = true

[dev-dependencies]
httpmock = "0.6.7"
Expand Down
2 changes: 1 addition & 1 deletion cli/src/auth/google_cloud.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use crate::config::Config;
use async_trait::async_trait;
use serde::{Deserialize, Serialize};
use std::{future::Future, pin::Pin};
use time::{format_description, OffsetDateTime};
use tonic::async_trait;
use yup_oauth2::{
authenticator_delegate::{DefaultInstalledFlowDelegate, InstalledFlowDelegate},
hyper, hyper_rustls,
Expand Down
264 changes: 33 additions & 231 deletions cli/tests/snapshots/completion__wukong_completion_fish.snap

Large diffs are not rendered by default.

Loading
Loading