Skip to content

Commit

Permalink
Fix problem with bigdecimal build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sytten committed Aug 31, 2023
1 parent e33e238 commit 0fd3492
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --manifest-path sea-query-diesel/Cargo.toml --workspace --features postgres,sqlite,mysql --features=with-chrono,with-json,with-rust_decimal,with-bigdecimal,with-uuid,with-time,with-ipnetwork,with-mac_address,postgres-array
- run: |
cargo install --manifest-path sea-query-diesel/Cargo.toml --workspace -features postgres,sqlite,mysql --features=with-chrono,with-json,with-rust_decimal,with-bigdecimal,with-uuid,with-time,with-ipnetwork,with-mac_address,postgres-array
cargo update --manifest-path sea-query-diesel/Cargo.toml --workspace -p bigdecimal:0.4.1 --precise 0.3.1
cargo build --manifest-path sea-query-diesel/Cargo.toml --workspace --features postgres,sqlite,mysql --features=with-chrono,with-json,with-rust_decimal,with-bigdecimal,with-uuid,with-time,with-ipnetwork,with-mac_address,postgres-array
- run: cargo build --manifest-path sea-query-diesel/Cargo.toml --workspace --features postgres,sqlite,mysql --features=with-chrono
- run: cargo build --manifest-path sea-query-diesel/Cargo.toml --workspace --features postgres,sqlite,mysql --features=with-json
- run: cargo build --manifest-path sea-query-diesel/Cargo.toml --workspace --features postgres,sqlite,mysql --features=with-rust_decimal
Expand Down
2 changes: 1 addition & 1 deletion sea-query-diesel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mysql = ["diesel/mysql", "sea-query/backend-mysql"]
sqlite = ["diesel/sqlite", "sea-query/backend-sqlite"]
with-chrono = ["diesel/chrono", "sea-query/with-chrono", "chrono"]
with-json = ["diesel/serde_json", "sea-query/with-json", "serde_json"]
with-rust_decimal = ["sea-query/with-rust_decimal"]
with-rust_decimal = ["sea-query/with-rust_decimal", "rust_decimal"]
with-rust_decimal-mysql = ["with-rust_decimal", "rust_decimal/db-diesel2-mysql"]
with-rust_decimal-postgres = [
"with-rust_decimal",
Expand Down

0 comments on commit 0fd3492

Please sign in to comment.