Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare v2.0.0 rc.1 #3237

Merged
merged 149 commits into from
Jul 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
18aaf11
Add missing fields to diesel_dynamic_schema/Cargo.toml
weiznich Apr 22, 2022
5f8fd9c
Fix links in migration guide
Heliozoa Apr 22, 2022
e4a1c10
Merge pull request #3145 from Heliozoa/patch-1
weiznich Apr 22, 2022
c1d1f2a
Fix potential name collisions in code generated by the `table!` macro
weiznich Apr 23, 2022
b0a2c1e
Merge pull request #3146 from weiznich/fix_name_colision_in_table_macro
weiznich Apr 23, 2022
fc0fd7b
Remove the note about unsupported nullable arrays from the documentation
weiznich Apr 26, 2022
0f19c93
Add a note about the `Array<ST>` -> `Array<Nullable<ST>>` change to the
weiznich Apr 26, 2022
724b1f2
Add a missing lifetime to the `FromSql` example from the migration guide
weiznich Apr 26, 2022
0b01145
Apply suggestions from code review
weiznich Apr 26, 2022
10db1b8
Fixed typo
DrVilepis Apr 27, 2022
91e08ba
Merge pull request #3148 from weiznich/fix_array_docs
weiznich Apr 27, 2022
0757e7f
Merge pull request #3149 from DrVilepis/patch-1
weiznich Apr 27, 2022
b3d913a
docs: Fix typo in nullability operators section
heyrict Apr 29, 2022
3f18cc3
Merge pull request #3153 from heyrict/patch-1
Ten0 Apr 29, 2022
ca743af
Allow `DISTINCT ON` to be used with queries containing an explicit so…
weiznich Apr 29, 2022
6256d45
Fix #3151
weiznich Apr 29, 2022
3228fec
Fix compile tests
weiznich Apr 29, 2022
ece7bc2
Merge pull request #3155 from weiznich/fix/3151
weiznich Apr 29, 2022
f1b29e1
add concat, like and not like for Postgres Binary type
Justice4Joffrey May 1, 2022
db88c11
add compile test
Justice4Joffrey May 1, 2022
cfc0d42
Merge pull request #3150 from Justice4Joffrey/oc-pg-byte-methods
weiznich May 2, 2022
72213f4
Merge pull request #3154 from weiznich/fix/distinct_on_with_explicit_…
weiznich May 2, 2022
fb70fd7
Fix #3156
weiznich May 2, 2022
353b408
Apply suggestions from PR review
weiznich May 3, 2022
0c6219f
Merge pull request #3159 from weiznich/fix/3156
weiznich May 3, 2022
61351f7
Optimise build times
weiznich May 3, 2022
fb31425
WIP implementation of ipnet based conversions
smklein May 3, 2022
11d9800
Fix tests, no longer mutually exclusive
smklein May 4, 2022
a363512
Update documentation for r2d2 to be more complete
chusteven May 5, 2022
2c2a795
Fix broken bound in diesel_cli
weiznich May 5, 2022
f2aff80
Bring back __GroupByClause as generic parameter as it makes the error
weiznich May 5, 2022
ce39fe7
Fix compile tests
weiznich May 5, 2022
e32c289
Merge pull request #3170 from chusteven/update_r2d2_mod_docs_for_errors
weiznich May 5, 2022
914d62a
This commit fixes a potential race condition in our r2d2 tests
weiznich May 5, 2022
209f22a
Merge pull request #3171 from weiznich/fix/race_condition_in_r2d2_test
weiznich May 5, 2022
99f209f
Merge pull request #3167 from weiznich/improve/compile_times
weiznich May 6, 2022
a69e8d4
Make TransactionDepthChange public
weiznich May 10, 2022
4241346
Merge pull request #3175 from weiznich/make_transaction_depth_change_…
weiznich May 10, 2022
768b98d
Fix doc typo for `fn sql_query`
May 12, 2022
983209a
Merge pull request #3176 from CLEckhardt/fix_typo_sql_query_doc
weiznich May 13, 2022
448df6b
Address #3173
weiznich May 20, 2022
e289d33
Address (unreleated) CI errors
weiznich May 20, 2022
4fe9876
Merge pull request #3181 from weiznich/fix/3173
weiznich May 22, 2022
cd20ce7
Make sure clippy runs for test code as well
weiznich May 23, 2022
0565d92
Fix a large number of clippy warnings
weiznich May 23, 2022
a4c4c1d
Minor fixes
weiznich May 23, 2022
ecd6294
Minor fixes
weiznich May 23, 2022
5282adb
Allow mysql schemas that contain either a json or a datatime field
weiznich May 24, 2022
b51e658
Merge pull request #3185 from weiznich/fix/3182
weiznich May 25, 2022
e01025f
Make rustdoc JSON not cause ICE
Enselic May 26, 2022
ecd22fb
Merge pull request #3186 from weiznich/fix/allow_mysql_tables_with_da…
weiznich May 27, 2022
510cad6
Also replace `Self` with `T` for `impl<T: Query> AsQuery for T`
Enselic May 27, 2022
3783c1c
Fix three rustdoc::broken_intra_doc_links
Enselic May 27, 2022
3488dbd
Merge pull request #3192 from Enselic/fix-three-broken-intra-doc-links
weiznich May 30, 2022
8154bfe
Add a note about automatic rebuilds to the documentation of
weiznich May 31, 2022
661870c
Merge pull request #3190 from Enselic/make-rustdoc-json-not-cause-ice
weiznich May 31, 2022
640b399
docs: typos in lib.rs
woshilapin May 31, 2022
48cae3c
Update diesel_migrations/migrations_macros/src/lib.rs
weiznich May 31, 2022
2cacd96
Merge pull request #3194 from woshilapin/typos
weiznich May 31, 2022
dc1965b
Put the `backend::sql_dialect` module behind the
weiznich Jun 2, 2022
48bea31
Merge pull request #3193 from weiznich/fix/add_documentation_about_bu…
weiznich Jun 2, 2022
a4bfc82
Update CHANGELOG
smklein Jun 2, 2022
46c366a
Merge branch 'master' of https://github.com/diesel-rs/diesel into ipnet
smklein Jun 2, 2022
95f92ff
Fix CI errors
weiznich Jun 3, 2022
2db5464
Update compile test output
weiznich Jun 3, 2022
838c6bc
Merge pull request #3195 from weiznich/make_more_things_private
weiznich Jun 3, 2022
efdc978
Add ipnet dep
smklein Jun 3, 2022
fa6c62c
Merge branch 'master' into ipnet
smklein Jun 3, 2022
05ced4b
Merge pull request #3165 from smklein/ipnet
weiznich Jun 3, 2022
3e91966
Use windows 2019 instead of windows latest
Sytten Jun 3, 2022
0006b43
Revert "Fix vs2022 path"
Sytten Jun 5, 2022
bd392af
Revert "Update visual studio path to 2022"
Sytten Jun 5, 2022
58c088d
Merge pull request #3196 from caido/ef/fix/windows-ci
weiznich Jun 6, 2022
857a69f
Add AstPassToSqlOptions
Sytten May 17, 2022
0a80534
Add SqliteReturningClause
Sytten May 17, 2022
1a4770e
Fix AstPass options warnings
Sytten May 18, 2022
b90bbfc
Fix bad returning clause import and bad astpass option value
Sytten May 18, 2022
d30d6e5
Add test for returning with an external sqlite database
Sytten May 18, 2022
f2867d2
Refactor skip from
Sytten May 25, 2022
a5363ae
Refactor external database tests
Sytten May 25, 2022
8d85dbd
Mark skip_from field only for corresponding feature
Sytten May 25, 2022
8b8d2a9
Fix bad default features in cargo tests
Sytten May 25, 2022
d3ced3b
Remove skip-from flag
Sytten Jun 5, 2022
3e5f1ad
Update compile test output
weiznich Jun 7, 2022
a83360c
Explictly sort migrations on migration redo to ensure that we revert
weiznich Jun 7, 2022
58bdf18
Merge pull request #3197 from weiznich/fix/migration_redo_all_order
weiznich Jun 8, 2022
d061159
Updated ipnetwork to 0.19
Razican May 14, 2022
74996c8
Bump MSRV to 1.56
weiznich Jun 7, 2022
74b08ec
Adjust MSRV in Cargo.toml's
weiznich Jun 8, 2022
f423a76
Fix clippy error
weiznich Jun 8, 2022
093dd1f
Use 1.56 for the compiletests job as well
weiznich Jun 8, 2022
ffb6b83
Fix #1535
weiznich Jun 10, 2022
b5c2e26
Merge pull request #3202 from weiznich/fix/1535
weiznich Jun 10, 2022
095835d
Partially revert 61351f779a3076bfa8b8cecdea19caa560fc95fc to fix buil…
weiznich Jun 14, 2022
6c162b1
Update to clap 3.2
weiznich Jun 14, 2022
8d8ab71
Use clap 3.2.1 as 3.2.0 has broken minimal dependencies
weiznich Jun 14, 2022
eaf68d8
Fix display minimal supported rust version in github action job
weiznich Jun 14, 2022
df7ca0a
Merge pull request #3178 from Razican/ipnetwork_update
weiznich Jun 15, 2022
4477a9f
More straightforward commit error handling
Ten0 Jun 20, 2022
53bad85
Implement new strategy for tracking transaction depth changes related…
Ten0 Jun 23, 2022
9a60a1b
Add a WIP postgres row-by-row implementation
weiznich Jun 24, 2022
a599e8f
ci fixes and review comments
Ten0 Jun 24, 2022
68221e8
minor review comments
Ten0 Jun 29, 2022
bc8d85d
Merge pull request #3211 from Ten0/more_straightforward_commit_error_…
Ten0 Jun 29, 2022
78fc741
Return the original error when rollback attempt fails for `BrokenTran…
Ten0 Jul 2, 2022
cbdfee3
Merge pull request #3219 from Ten0/return_original_error_when_tm_brok…
weiznich Jul 4, 2022
0318ae7
Future proofing `LoadQuery` and `RunQueryDsl` for possible row-by-row
weiznich Jul 6, 2022
e23c382
Merge pull request #3221 from weiznich/future_proofing_for_row_by_row…
weiznich Jul 7, 2022
75e5d88
Hack together a type level solution for the row-by-row setting problem
weiznich Jul 8, 2022
80d621a
Improve loading mode implementation + add more tests
weiznich Jul 12, 2022
384d86e
Merge remote-tracking branch 'upstream/master' into testing/libpq_row…
weiznich Jul 13, 2022
d8f7500
Minor fixes
weiznich Jul 13, 2022
ecf7a10
Remove unneeded lifetime from `LoadIter`
weiznich Jul 14, 2022
29321dc
Fix generic code in diesel-cli
weiznich Jul 14, 2022
e842373
Documentation fixes
weiznich Jul 14, 2022
e2bf357
More documentation fixes
weiznich Jul 14, 2022
36a95e7
Fix the clippy & rustfmt job
weiznich Jul 14, 2022
ec499ed
Missing import for mysql
weiznich Jul 14, 2022
ccb9f78
Fix compile-tests
weiznich Jul 14, 2022
0599c8a
Documentation fix for sqlite
weiznich Jul 14, 2022
a342b2a
Fix clippy type inference issue
weiznich Jul 14, 2022
425e999
Integrate update_transaction_manager_status with new row by row mode
weiznich Jul 14, 2022
a5ab9a3
Improve code generated by the insertable derive
weiznich Jul 14, 2022
5aa2438
Update diesel_derives/src/insertable.rs
weiznich Jul 15, 2022
5c0452e
Merge pull request #3228 from weiznich/improve_insertable_error_messages
weiznich Jul 15, 2022
7e35eea
Simplify passing of TransactionManager & RawConnection in implementation
weiznich Jul 16, 2022
f126882
Fix clippy again
weiznich Jul 17, 2022
53a4157
Merge pull request #3213 from weiznich/testing/libpq_row_by_row
weiznich Jul 17, 2022
db7a3e6
Minor cleanup for #3213
weiznich Jul 18, 2022
999ab8d
Pass single pointer to update_transaction_manager_status' non_generic…
Ten0 Jul 18, 2022
7637a18
Updated ipnetwork to 0.20
Razican Jul 16, 2022
85eb432
Added changelog entry
Razican Jul 18, 2022
6cf2ac7
Merge pull request #3236 from weiznich/row_by_row_cleanup
weiznich Jul 18, 2022
4326e75
Merge pull request #3235 from Razican/ipnetwork
weiznich Jul 18, 2022
6388ea5
Merge remote-tracking branch 'upstream/master' into prepare_v2.0.0-rc.0
weiznich Jul 19, 2022
9960b6a
Prepare 2.0.0-rc.1 release
weiznich Jul 19, 2022
093dcbd
Update libsqlite3-sys
weiznich Jul 19, 2022
e91e3c7
Disable diesel_async dependencies in benchmarks to fix ci for now
weiznich Jul 19, 2022
4015d71
CLI: Allow running without a `down.sql` migration
Ten0 Jul 19, 2022
8fa20dc
Add CLI test
Ten0 Jul 19, 2022
abbe5b0
Add same support in embed migrations
Ten0 Jul 19, 2022
71853b6
More tests
Ten0 Jul 19, 2022
7c5d6b3
Fix clippy
Ten0 Jul 19, 2022
b06af97
Merge pull request #3238 from Ten0/allow_no_down_migration
weiznich Jul 19, 2022
b22b480
Merge remote-tracking branch 'upstream/master' into prepare_v2.0.0-rc.0
weiznich Jul 20, 2022
1201e15
Improve the documentation of `QueryDsl::inner_join`
weiznich Jul 21, 2022
7dbb5d4
Apply suggestions from code review
weiznich Jul 21, 2022
44c7f3f
Merge pull request #3240 from weiznich/note_about_many_joins
weiznich Jul 21, 2022
1138022
Merge remote-tracking branch 'upstream/master' into prepare_v2.0.0-rc.0
weiznich Jul 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 51 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
matrix:
rust: ["stable", "beta", "nightly"]
backend: ["postgres", "sqlite", "mysql"]
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-latest, windows-2019]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
Expand Down Expand Up @@ -153,13 +153,7 @@ jobs:
run: |
choco install sqlite
cd /D C:\ProgramData\chocolatey\lib\SQLite\tools
dir "C:\Program Files\Microsoft Visual Studio"
dir "C:\Program Files\Microsoft Visual Studio\2022"
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC"
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary"
dir "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build"
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
lib /machine:x64 /def:sqlite3.def /out:sqlite3.lib

- name: Set variables for sqlite (Windows)
Expand Down Expand Up @@ -324,7 +318,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: 1.56.0
profile: minimal
override: true
- name: Cache cargo registry
Expand Down Expand Up @@ -353,7 +347,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: 1.57.0
profile: minimal
components: clippy, rustfmt
override: true
Expand All @@ -369,6 +363,11 @@ jobs:
run: |
sudo apt-get update
sudo apt-get -y install libsqlite3-dev libpq-dev libmysqlclient-dev
- name: Set environment variables
shell: bash
run: |
echo "RUSTFLAGS=-D warnings" >> $GITHUB_ENV
echo "RUSTDOCFLAGS=-D warnings" >> $GITHUB_ENV

- name: Remove potential newer clippy.toml from dependencies
run: |
Expand All @@ -377,10 +376,46 @@ jobs:
find ~/.cargo/registry -iname "*clippy.toml" -delete

- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all
run: |
cargo clippy --tests --manifest-path diesel_derives/Cargo.toml --features "postgres diesel/postgres"
cargo clippy --tests --manifest-path diesel/Cargo.toml --features "postgres"
cargo clippy --tests --manifest-path diesel_dynamic_schema/Cargo.toml --features "postgres diesel/postgres"
cargo clippy --tests --manifest-path diesel_migrations/migrations_internals/Cargo.toml
cargo clippy --tests --manifest-path diesel_migrations/migrations_macros/Cargo.toml --features "postgres diesel/postgres"
cargo clippy --tests --manifest-path diesel_migrations/Cargo.toml --features "postgres diesel/postgres"
cargo clippy --tests --manifest-path diesel_cli/Cargo.toml --features "postgres" --no-default-features
cargo clippy --tests --manifest-path diesel_tests/Cargo.toml --features "postgres"
cargo clippy --tests --manifest-path examples/postgres/getting_started_step_1/Cargo.toml
cargo clippy --tests --manifest-path examples/postgres/getting_started_step_2/Cargo.toml
cargo clippy --tests --manifest-path examples/postgres/getting_started_step_3/Cargo.toml
cargo clippy --tests --manifest-path examples/postgres/advanced-blog-cli/Cargo.toml
cargo clippy --tests --manifest-path examples/postgres/all_about_inserts/Cargo.toml
cargo clippy --tests --manifest-path examples/postgres/all_about_updates/Cargo.toml
cargo clippy --tests --manifest-path examples/postgres/custom_types/Cargo.toml

cargo clippy --tests --manifest-path diesel_derives/Cargo.toml --features "sqlite diesel/sqlite"
cargo clippy --tests --manifest-path diesel/Cargo.toml --features "sqlite"
cargo clippy --tests --manifest-path diesel_dynamic_schema/Cargo.toml --features "sqlite diesel/sqlite"
cargo clippy --tests --manifest-path diesel_migrations/migrations_macros/Cargo.toml --features "sqlite diesel/sqlite"
cargo clippy --tests --manifest-path diesel_migrations/Cargo.toml --features "sqlite diesel/sqlite"
cargo clippy --tests --manifest-path diesel_cli/Cargo.toml --features "sqlite" --no-default-features
cargo clippy --tests --manifest-path diesel_tests/Cargo.toml --features "sqlite"
cargo clippy --tests --manifest-path examples/sqlite/getting_started_step_1/Cargo.toml
cargo clippy --tests --manifest-path examples/sqlite/getting_started_step_2/Cargo.toml
cargo clippy --tests --manifest-path examples/sqlite/getting_started_step_3/Cargo.toml
cargo clippy --tests --manifest-path examples/sqlite/all_about_inserts/Cargo.toml

cargo clippy --tests --manifest-path diesel_derives/Cargo.toml --features "mysql diesel/mysql"
cargo clippy --tests --manifest-path diesel/Cargo.toml --features "mysql"
cargo clippy --tests --manifest-path diesel_dynamic_schema/Cargo.toml --features "mysql diesel/mysql"
cargo clippy --tests --manifest-path diesel_migrations/migrations_macros/Cargo.toml --features "mysql diesel/mysql"
cargo clippy --tests --manifest-path diesel_migrations/Cargo.toml --features "mysql diesel/mysql"
cargo clippy --tests --manifest-path diesel_cli/Cargo.toml --features "mysql" --no-default-features
cargo clippy --tests --manifest-path diesel_tests/Cargo.toml --features "mysql"
cargo clippy --tests --manifest-path examples/mysql/getting_started_step_1/Cargo.toml
cargo clippy --tests --manifest-path examples/mysql/getting_started_step_2/Cargo.toml
cargo clippy --tests --manifest-path examples/mysql/getting_started_step_3/Cargo.toml
cargo clippy --tests --manifest-path examples/mysql/all_about_inserts/Cargo.toml

- name: Check formating
uses: actions-rs/cargo@v1
Expand Down Expand Up @@ -427,13 +462,13 @@ jobs:
run: cargo -Z build-std test --manifest-path diesel/Cargo.toml --no-default-features --features "sqlite extras libsqlite3-sys libsqlite3-sys/bundled libsqlite3-sys/with-asan" --target x86_64-unknown-linux-gnu

minimal_rust_version:
name: Check Minimal supported rust version (1.54.0)
name: Check Minimal supported rust version (1.56.0)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: 1.56.0
profile: minimal
override: true
- name: Cache cargo registry
Expand Down
25 changes: 23 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,28 @@ default features enabled using some set of dependencies. Those set of dependenci
an up to date version of the specific dependency. We check this by using the unstable `-Z minimal-version` cargo flag.
Increasing the minimal supported Rust version will always be coupled at least with a minor release.

## Unreleased
## [2.0.0 Rc1] 2022-07-19

### Changed

* We've changed the `RunQueryDsl::load_iter` interface to support different
loading modes. This enables us to support more than one strategy for loading
values by iterator from the database.

### Added

* Adds an `ipnet-address` feature flag, allowing support (de)serializing IP
values from the database using types provided by `ipnet`. This feature
may be enabled concurrently with the previously existing `network-address`
feature.
* We've added support for loading values using libpq's row-by-row mode via
the new iterator interface

### Fixed

* Updated `ipnetwork` to allow version 0.20.
* Updated `libsqlite3-sys` to allow version 0.25
* Fix a bug that prevents connection reusing with r2d2

## [2.0.0 Rc0] 2022-04-22

Expand Down Expand Up @@ -109,7 +130,7 @@ Increasing the minimal supported Rust version will always be coupled at least wi

### Changed

* The minimal officially supported rustc version is now 1.54.0
* The minimal officially supported rustc version is now 1.56.0

* Interacting with a database requires a mutable connection.

Expand Down
14 changes: 8 additions & 6 deletions diesel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "diesel"
version = "2.0.0-rc.0"
version = "2.0.0-rc.1"
license = "MIT OR Apache-2.0"
description = "A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL"
readme = "README.md"
Expand All @@ -10,21 +10,22 @@ repository = "https://github.com/diesel-rs/diesel"
keywords = ["orm", "database", "sql"]
categories = ["database"]
edition = "2018"
rust-version = "1.54.0"
rust-version = "1.56.0"

[dependencies]
byteorder = { version = "1.0", optional = true }
chrono = { version = "0.4.19", optional = true, default-features = false, features = ["clock", "std"] }
libc = { version = "0.2.0", optional = true }
libsqlite3-sys = { version = ">=0.17.2, <0.25.0", optional = true, features = ["bundled_bindings"] }
libsqlite3-sys = { version = ">=0.17.2, <0.26.0", optional = true, features = ["bundled_bindings"] }
mysqlclient-sys = { version = "0.2.5", optional = true }
pq-sys = { version = "0.4.0", optional = true }
quickcheck = { version = "1.0.3", optional = true }
serde_json = { version = ">=0.8.0, <2.0", optional = true }
url = { version = "2.1.0", optional = true }
percent-encoding = { version = "2.1.0", optional = true }
uuid = { version = ">=0.7.0, <2.0.0", optional = true }
ipnetwork = { version = ">=0.12.2, <0.19.0", optional = true }
ipnetwork = { version = ">=0.12.2, <0.21.0", optional = true }
ipnet = { version = "2.5.0", optional = true }
num-bigint = { version = ">=0.2.0, <0.5.0", optional = true }
num-traits = { version = "0.2.0", optional = true }
num-integer = { version = "0.1.39", optional = true }
Expand All @@ -34,13 +35,13 @@ r2d2 = { version = ">= 0.8.2, < 0.9.0", optional = true }
itoa = { version = "1.0.0", optional = true }

[dependencies.diesel_derives]
version = "~2.0.0-rc.0"
version = "~2.0.0-rc.1"
path = "../diesel_derives"

[dev-dependencies]
cfg-if = "1"
dotenvy = "0.15"
ipnetwork = ">=0.12.2, <0.19.0"
ipnetwork = ">=0.12.2, <0.21.0"
quickcheck = "1.0.3"

[features]
Expand All @@ -58,6 +59,7 @@ mysql = ["mysqlclient-sys", "url", "percent-encoding", "bitflags", "mysql_backen
without-deprecated = ["diesel_derives/without-deprecated"]
with-deprecated = ["diesel_derives/with-deprecated"]
network-address = ["ipnetwork", "libc"]
ipnet-address = ["ipnet", "libc"]
numeric = ["num-bigint", "bigdecimal", "num-traits", "num-integer"]
postgres_backend = ["diesel_derives/postgres", "bitflags", "byteorder", "itoa"]
mysql_backend = ["diesel_derives/mysql", "byteorder"]
Expand Down
Loading