Skip to content

Commit

Permalink
Move all static content into binary with rust-embed
Browse files Browse the repository at this point in the history
Experimental support for using sqlite to archive requests beyond the request limit, not all that useful as the front-end does not query it yet
  • Loading branch information
atomic77 committed Jan 13, 2021
1 parent ba547b3 commit aabb151
Show file tree
Hide file tree
Showing 10 changed files with 306 additions and 160 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ jobs:
with:
command: test

# clippy:
# name: Clippy
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# override: true
# - run: rustup component add clippy
# - uses: actions-rs/cargo@v1
# with:
# command: clippy
# args: -- -D warnings
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
185 changes: 145 additions & 40 deletions Cargo.lock

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

8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tiny_http = "0.6"
tiny_http = "0.7"
tera = "1"
serde = "1.0.118"
serde_derive = "1.0.118"
serde_json = "1.0.61"
chrono = "0.4.19"
url = "2.2.0"
clap = "3.0.0-beta.2"
clap = "3.0.0-beta.2"
bincode = "1.3"
snap = "1"
rusqlite = {version = "0.24.2", features = ["bundled"]}
rust-embed = "5.8.0"
Loading

0 comments on commit aabb151

Please sign in to comment.