Skip to content

Commit

Permalink
Refactor cargo.toml files and remove reqwest from jig-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Baarsgaard committed Aug 23, 2023
1 parent d237402 commit 556c6a0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ default-members = [
[workspace.dependencies]
color-eyre = { version = "0.6.2", default-features = false }
regex = { version = "1.8.4", features = ["std"], default-features = false }
reqwest = { version = "0.11.18", default-features = false, features = ["rustls-tls"] }
serde = { version = "1.0.164", features = ["derive"] }
serde_json = "1.0.97"
9 changes: 4 additions & 5 deletions jig-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ authors = ["Steffen Baarsgaard <sbaarsgaard@gmail.com>"]
base64 = "0.21.2"
chrono = "0.4.26"
clap = { version = "4.3.0", features = ["derive"] }
color-eyre = { workspace = true, default-features = false }
color-eyre = { workspace = true }
etcetera = "0.8.0"
fuzzy-matcher = { version = "0.3.7", optional = true }
gix = { version = "0.48.0", default-features = false }
inquire = { version = "0.6.2", features = ["date"] }
jira = { path = "../jira", default-features = false }
regex = { workspace = true, features = ["std"], default-features = false }
reqwest = { workspace = true, default-features = false }
regex = { workspace = true }
self_update = { version = "0.37.0", default-features = false, features = ["rustls"] }
serde = { workspace = true, features = ["derive"] }
serde = { workspace = true }
serde_json = { workspace = true }
toml = "0.7.5"
#tui/ratatui
url = { version = "2.4.0", default-features = false }

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion jig-cli/src/commands/init_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ use crate::config::{self, RawConfig};
use clap::Args;
use color_eyre::eyre::{eyre, Result, WrapErr};
use inquire::{Confirm, CustomType, Password, Select, Text};
use reqwest::Url;
use std::fs;
use std::path::PathBuf;
use std::{env, process::Command};
use url::Url;

#[derive(Args, Debug)]
pub struct InitConfig {
Expand Down
8 changes: 4 additions & 4 deletions jira/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ authors = ["Steffen Baarsgaard <sbaarsgaard@gmail.com>"]

[dependencies]
base64 = "0.21.2"
color-eyre = { workspace = true, default-features = false }
regex = { workspace = true, features = ["std"], default-features = false }
reqwest = { workspace = true, default-features = false, features = ["blocking", "json", "rustls-tls", "rustls-native-certs", "rustls-tls-native-roots"] }
serde = { workspace = true, features = ["derive"] }
color-eyre = { workspace = true }
regex = { workspace = true }
reqwest = { default-features = false, features = ["blocking", "json", "rustls-tls", "rustls-native-certs", "rustls-tls-native-roots"] }
serde = { workspace = true }
serde_json = { workspace = true }

[features]
Expand Down

0 comments on commit 556c6a0

Please sign in to comment.