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

Trim features #76

Merged
merged 2 commits into from
Aug 28, 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
25 changes: 25 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Cargo Build & Test

on:
push:
pull_request:

env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Rust project - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose

36 changes: 15 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,27 @@ exclude = ["sandbox"]


[dependencies]
assert_cmd = "2.0.12"
assert_cmd = "2.0.16"
bcrypt = "0.15.1"
chrono = "0.4.26"
clap = {version = "4.3.23", features = ["derive"] }
console = "0.15.7"
chrono = "0.4.38"
clap = {version = "4.5.16", features = ["derive"] }
console = "0.15.8"
dialoguer = {version = "0.10.4", features = ["fuzzy-select", "completion"] }
dirs = "5.0.1"
include_dir = "0.7.3"
indicatif = "0.17.6"
lazy_static = "1.4.0"
serde = { version = "1.0.185", features = ["derive"] }
serde_json = "1.0.105"
tokio = {version = "1.20.0", features = ["macros", "rt-multi-thread"] }
uuid = {version = "1.4.1", features = ["v4", "fast-rng", "macro-diagnostics"] }
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.81"
anyhow = "1.0.86"
utils-cli-entity = { path = "entity", version = "1.0.5"}
utils-cli-migration = { path = "migration", version = "1.0.0"} # depends on your needs
utils-cli-migration = { path = "migration", version = "1.0.0"}
online = "4.0.2"
configparser = "3.0.4"
reqwest = "0.12.2"
tonic = "0.11.0"
prost = "0.12.3"
regex = "1.10.4"
configparser = "3.1.0"
regex = "1.10.6"
confy = "0.6.1"

[build-dependencies]
tonic-build = "0.11.0"


42 changes: 0 additions & 42 deletions justfile

This file was deleted.

2 changes: 1 addition & 1 deletion migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ path = "src/lib.rs"
async-std = { version = "1", features = ["attributes", "tokio1"] }

[dependencies.sea-orm-migration]
version = "0.12.0"
version = "0.12.15"
features = [
# Enable at least one `ASYNC_RUNTIME` and `DATABASE_DRIVER` feature if you want to run migration via CLI.
# View the list of supported features at https://www.sea-ql.org/SeaORM/docs/install-and-config/database-and-async-runtime.
Expand Down
22 changes: 0 additions & 22 deletions publish.sh

This file was deleted.

2 changes: 1 addition & 1 deletion 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, config, style::LogMessage};
use crate::{commands};

//acf
#[derive(Parser)]
Expand Down