Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
opeolluwa committed Sep 30, 2024
1 parent d4eaf71 commit f3bc7ce
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 28 deletions.
Binary file modified .DS_Store
Binary file not shown.
5 changes: 0 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"workbench.colorCustomizations": {
"activityBar.background": "#462511",
"titleBar.activeBackground": "#613417",
"titleBar.activeForeground": "#FDFAF8"
},
"rust-analyzer.linkedProjects": [
"./Cargo.toml",
"./utils-server/Cargo.toml",
Expand Down
31 changes: 12 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,32 @@ version = "1.1.1"
license = "Apache-2.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html





[workspace]
members = [".", "entity", "migration",]
exclude = ["sandbox"]




[dependencies]
anyhow = "1.0.86"
assert_cmd = "2.0.16"
bcrypt = "0.15.1"
chrono = "0.4.38"
clap = {version = "4.5.16", features = ["derive"] }
clap = { version = "4.5.16", features = ["derive"] }
configparser = "3.1.0"
confy = "0.6.1"
console = "0.15.8"
dialoguer = {version = "0.10.4", features = ["fuzzy-select", "completion"] }
dialoguer = { version = "0.10.4", features = ["fuzzy-select", "completion"] }
dirs = "5.0.1"
include_dir = "0.7.4"
indicatif = "0.17.8"
lazy_static = "1.5.0"
serde = { version = "1.0.209", features = ["derive"] }
serde_json = "1.0.127"
tokio = {version = "1.39.3", features = ["macros", "rt-multi-thread"] }
uuid = {version = "1.10.0", features = ["v4", "fast-rng", "macro-diagnostics"] }
sea-orm = { version = "0.12", features = [ "sqlx-sqlite", "runtime-tokio-native-tls", "macros" , "with-uuid", "with-time"] }
anyhow = "1.0.86"
utils-cli-entity = { path = "entity", version = "1.0.5"}
utils-cli-migration = { path = "migration", version = "1.0.0"}
online = "4.0.2"
configparser = "3.1.0"
regex = "1.10.6"
confy = "0.6.1"
sea-orm = { version = "0.12", features = [ "sqlx-sqlite", "runtime-tokio-native-tls", "macros" , "with-uuid", "with-time"] }
serde = { version = "1.0.209", features = ["derive"] }
serde_json = "1.0.127"
tokio = { version = "1.39.3", features = ["macros", "rt-multi-thread"] }
utils-cli-entity = { path = "entity", version = "1.0.5" }
utils-cli-migration = { path = "migration", version = "1.0.0" }
uuid = { version = "1.10.0", features = ["v4", "fast-rng", "macro-diagnostics"] }


1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ async fn main() -> Result<()> {
println!("database live at {}", DB_URL.as_str());
}


// run the cli parser
parser::Utils::run().await;

Expand Down
5 changes: 2 additions & 3 deletions src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use commands::{
store::StoreCommands,
};

use crate::{commands};
use crate::commands;

//acf
#[derive(Parser)]
Expand All @@ -27,8 +27,7 @@ impl Utils {
Commands::Sync => CliCommands::sync().await,
Commands::Auth(auth) => AuthCommands::parser(auth),
Commands::Config => {
todo!()

todo!()
}
}
}
Expand Down

0 comments on commit f3bc7ce

Please sign in to comment.