Skip to content

Commit

Permalink
Merge pull request #37 from aumetra/master
Browse files Browse the repository at this point in the history
Only pull in 'postgres_backend' instead of 'postgres'
  • Loading branch information
weiznich committed May 26, 2023
2 parents c233153 + f42bed9 commit fa59985
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
profile: minimal
override: true

- uses: taiki-e/install-action@cargo-hack
- name: Build crate
uses: actions-rs/cargo@v1
with:
command: build
run: cargo hack --feature-powerset build
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ license = "MIT"
repository = "https://github.com/diesel-rs/diesel_full_text_search"

[dependencies]
diesel = { version = "2.0.0", features = ["postgres"], default-features = false }
diesel = { version = "2.0.0", features = ["postgres_backend"], default-features = false }

[features]
default = ["with-diesel-postgres"]
with-diesel-postgres = ["diesel/postgres"]

0 comments on commit fa59985

Please sign in to comment.