Skip to content

Commit

Permalink
Add diesel also as dev-dependency to fix the doc test error on CI
Browse files Browse the repository at this point in the history
This also enables the "bundled" feature for libsqlite to not care about
getting libsqlite3 setup everywhere
  • Loading branch information
weiznich committed Oct 11, 2023
1 parent c6d064d commit eb93ff8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Run doc tests
run: |
cargo test --all-features --doc
cargo test --all-features --doc
test-integration:
needs: check
Expand Down
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ hyper = "0.14.27"
tower = "0.4.13"
tokio = { version = "1.32.0", features = ["full"] }
tokio-test = "0.4.3"
diesel = {default-features = false, version = "2.1", features = ["sqlite"] }
libsqlite3-sys = { version = "0.26", features = ["bundled"] }

[package.metadata.docs.rs]
all-features = true
Expand Down

0 comments on commit eb93ff8

Please sign in to comment.