typable / verbal

A mobile app for listening to radio stations from around the globe
https://verbal.fm
GNU General Public License v3.0
0 stars 0 forks source link

Update sqlx requirement from 0.5.13 to 0.6.1 #14

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on sqlx to permit the latest version.

Changelog

Sourced from sqlx's changelog.

0.6.1 - 2022-08-02

33 pull requests were merged this release cycle.

Added

  • [#1495]: Add example for manual implementation of the FromRow trait [[@​Erik1000]]
  • [#1822]: (Postgres) Add support for std::net::IpAddr [[@​meh]]
    • Decoding returns an error if the INET value in Postgres is a prefix and not a full address (/32 for IPv4, /128 for IPv6).
  • [#1865]: Add SQLite support for the time crate [[@​johnbcodes]]
  • [#1902]: Add an example of how to use QueryBuilder::separated() [[@​sbeckeriv]]
  • [#1917]: Added docs for sqlx::types::Json [[@​jayy-lmao]]
  • [#1919]: Implement Clone for PoolOptions [[@​Thomasdezeeuw]]
  • [#1953]: Support Rust arrays in Postgres [[@​e00E]]
  • [#1954]: Add push_tuples for QueryBuilder [[@​0xdeafbeef]]
  • [#1959]: Support #[sqlx(flatten)] attribute in FromRow [[@​TheoOiry]]
  • [#1967]: Add example with external query files [[@​JoeyMckenzie]]
  • [#1985]: Add query_builder::Separated::push_bind_unseparated() [[@​0xdeafbeef]]
  • [#2001]: Implement #[sqlx::test] for general use
    • Includes automatic database management, migration and fixture application.
    • Drops support for end-of-lifed database versions, see PR for details.
  • [#2005]: QueryBuilder improvements [[@​abonander]]
    • Raw SQL getters, new method to build QueryAs instead of Query.
  • [#2013]: (SQLite) Allow VFS to be set as URL query parameter [[@​liningpan]]

Changed

Fixed

... (truncated)

Commits
  • 728717f docs(FAQ): add answer about supported db versions
  • 7809ff4 fix(docs): remove mention of subcommand that wasn't added
  • cb52c7c chore: prep 0.6.1 release
  • b630d5c feat: allow vfs to be set as uri query parameter (#2013)
  • 054f619 feat: implement testing utilities (#2001)
  • 7adbb7f refactor: remove direct actix-rt support (#1679)
  • 9a6d07f feat: QueryBuilder improvements (#2005)
  • a2eceec chore: replace dotenv with dotenvy (#2003)
  • 05d64fb fix: agree one a single default runtime for the whole workspace (#1988)
  • 29073cb fix: ensure PG connection is established before using it (#1989)
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
typable commented 2 years ago

Since version 6.0 of sqlx the build fails due to the following error:

error: one of the features ['runtime-actix-native-tls', 'runtime-async-std-native-tls', 'runtime-tokio-native-tls', 'runtime-actix-rustls', 'runtime-async-std-rustls', 'runtime-tokio-rustls'] must be enabled
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-rt-0.5.13/src/lib.rs:9:1
   |
9  | / compile_error!(
10 | |     "one of the features ['runtime-actix-native-tls', 'runtime-async-std-native-tls', \
11 | |      'runtime-tokio-native-tls', 'runtime-actix-rustls', 'runtime-async-std-rustls', \
12 | |      'runtime-tokio-rustls'] must be enabled"
13 | | );
   | |_^

error: could not compile `sqlx-rt` due to previous error
dependabot[bot] commented 2 years ago

Superseded by #26.