Skip to content

Commit

Permalink
chore: drop dead code and unneeded comments
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Holmes-Mitra <[email protected]>
  • Loading branch information
Tim Holmes-Mitra committed Feb 23, 2024
1 parent 1dc8369 commit 2a10636
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 23 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features

# - name: Build binary
# uses: actions-rs/cargo@v1
# with:
# command: build
# args: --release --all-features

# - name: Upload binary
# uses: actions/upload-artifact@v3
# with:
# name: ratings
# path: target/release/ratings

- name: Setup and Run Tests
run: |
cp example.env .env
Expand Down
8 changes: 1 addition & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ license = "GPL-3.0-only"
authors = ["Canonical"]
version = "0.2.0"
edition = "2021"
rust-version = "1.76.0"

[dependencies]
dotenv = "0.15"
envy = "0.4"
dotenvy = "0.15"
futures = "0.3"
http = "1.0"
hyper = { version = "0.14", features = ["full", "backports", "deprecated"] }
Expand Down
1 change: 0 additions & 1 deletion example.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ APP_JWT_SECRET=deadbeef
APP_LOG_LEVEL=info
APP_NAME=ratings
APP_PORT=8080
# Update this with some real PostgreSQL details
APP_POSTGRES_URI=postgresql://migration_user:strongpassword@localhost:5433/ratings
APP_MIGRATION_POSTGRES_URI=postgresql://migration_user:strongpassword@localhost:5433/ratings

Expand Down
4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "stable"
profile = "minimal"
components = ["rustfmt", "clippy"]
2 changes: 1 addition & 1 deletion src/utils/config.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//! Utility functions and definitions for configuring the service.
use dotenv::dotenv;
use dotenvy::dotenv;
use serde::Deserialize;

/// Configuration for the general app center ratings backend service.
Expand Down

0 comments on commit 2a10636

Please sign in to comment.