Paolo Barbolini
8b5277462d
build(deps): bump semver compatible dependencies
...
Fixes the following cargo-audit feedback:
```
Crate: openssl
Version: 0.10.64
Title: `MemBio::get_buf` has undefined behavior with empty buffers
Date: 2024-07-21
ID: RUSTSEC-2024-0357
URL: https://rustsec.org/advisories/RUSTSEC-2024-0357
Solution: Upgrade to >=0.10.66
Dependency tree:
openssl 0.10.64
├── sqlx-cli 0.8.3
└── native-tls 0.2.11
└── sqlx-core 0.8.3
├── sqlx-sqlite 0.8.3
│ ├── sqlx-macros-core 0.8.3
│ │ └── sqlx-macros 0.8.3
│ │ └── sqlx 0.8.3
│ │ ├── sqlx-test 0.1.0
│ │ │ └── sqlx 0.8.3
│ │ ├── sqlx-sqlite 0.8.3
│ │ ├── sqlx-postgres 0.8.3
│ │ │ ├── sqlx-macros-core 0.8.3
│ │ │ └── sqlx 0.8.3
│ │ ├── sqlx-mysql 0.8.3
│ │ │ ├── sqlx-macros-core 0.8.3
│ │ │ └── sqlx 0.8.3
│ │ ├── sqlx-example-sqlite-todos 0.1.0
│ │ ├── sqlx-example-postgres-transaction 0.1.0
│ │ ├── sqlx-example-postgres-todos 0.1.0
│ │ ├── sqlx-example-postgres-mockable-todos 0.1.0
│ │ ├── sqlx-example-postgres-listen 0.1.0
│ │ ├── sqlx-example-postgres-json 0.1.0
│ │ ├── sqlx-example-postgres-files 0.1.0
│ │ ├── sqlx-example-postgres-chat 0.1.0
│ │ ├── sqlx-example-postgres-axum-social 0.1.0
│ │ ├── sqlx-example-mysql-todos 0.1.0
│ │ ├── sqlx-core 0.8.3
│ │ └── sqlx-cli 0.8.3
│ └── sqlx 0.8.3
├── sqlx-postgres 0.8.3
├── sqlx-mysql 0.8.3
├── sqlx-macros-core 0.8.3
├── sqlx-macros 0.8.3
└── sqlx 0.8.3
Crate: futures-util
Version: 0.3.30
Warning: yanked
Dependency tree:
futures-util 0.3.30
├── tower-http 0.3.5
│ └── axum 0.5.17
│ └── sqlx-example-postgres-axum-social 0.1.0
├── tower 0.4.13
│ ├── tower-http 0.3.5
│ ├── sqlx-example-postgres-axum-social 0.1.0
│ └── axum 0.5.17
├── sqlx-sqlite 0.8.3
│ ├── sqlx-macros-core 0.8.3
│ │ └── sqlx-macros 0.8.3
│ │ └── sqlx 0.8.3
│ │ ├── sqlx-test 0.1.0
│ │ │ └── sqlx 0.8.3
│ │ ├── sqlx-sqlite 0.8.3
│ │ ├── sqlx-postgres 0.8.3
│ │ │ ├── sqlx-macros-core 0.8.3
│ │ │ └── sqlx 0.8.3
│ │ ├── sqlx-mysql 0.8.3
│ │ │ ├── sqlx-macros-core 0.8.3
│ │ │ └── sqlx 0.8.3
│ │ ├── sqlx-example-sqlite-todos 0.1.0
│ │ ├── sqlx-example-postgres-transaction 0.1.0
│ │ ├── sqlx-example-postgres-todos 0.1.0
│ │ ├── sqlx-example-postgres-mockable-todos 0.1.0
│ │ ├── sqlx-example-postgres-listen 0.1.0
│ │ ├── sqlx-example-postgres-json 0.1.0
│ │ ├── sqlx-example-postgres-files 0.1.0
│ │ ├── sqlx-example-postgres-chat 0.1.0
│ │ ├── sqlx-example-postgres-axum-social 0.1.0
│ │ ├── sqlx-example-mysql-todos 0.1.0
│ │ ├── sqlx-core 0.8.3
│ │ │ ├── sqlx-sqlite 0.8.3
│ │ │ ├── sqlx-postgres 0.8.3
│ │ │ ├── sqlx-mysql 0.8.3
│ │ │ ├── sqlx-macros-core 0.8.3
│ │ │ ├── sqlx-macros 0.8.3
│ │ │ └── sqlx 0.8.3
│ │ └── sqlx-cli 0.8.3
│ └── sqlx 0.8.3
├── sqlx-postgres 0.8.3
├── sqlx-mysql 0.8.3
├── sqlx-core 0.8.3
├── hyper 0.14.28
│ └── axum 0.5.17
├── futures-executor 0.3.30
│ ├── sqlx-sqlite 0.8.3
│ └── futures 0.3.30
│ ├── sqlx-example-sqlite-todos 0.1.0
│ ├── sqlx-example-postgres-transaction 0.1.0
│ ├── sqlx-example-postgres-todos 0.1.0
│ ├── sqlx-example-postgres-mockable-todos 0.1.0
│ ├── sqlx-example-postgres-listen 0.1.0
│ ├── sqlx-example-postgres-json 0.1.0
│ ├── sqlx-example-postgres-chat 0.1.0
│ ├── sqlx-example-mysql-todos 0.1.0
│ ├── sqlx-cli 0.8.3
│ ├── sqlx 0.8.3
│ └── criterion 0.5.1
│ └── sqlx 0.8.3
├── futures 0.3.30
├── axum-core 0.2.9
│ └── axum 0.5.17
└── axum 0.5.17
Crate: url
Version: 2.5.3
Warning: yanked
Dependency tree:
url 2.5.3
├── validator 0.16.1
│ └── sqlx-example-postgres-axum-social 0.1.0
├── sqlx-sqlite 0.8.3
│ ├── sqlx-macros-core 0.8.3
│ │ └── sqlx-macros 0.8.3
│ │ └── sqlx 0.8.3
│ │ ├── sqlx-test 0.1.0
│ │ │ └── sqlx 0.8.3
│ │ ├── sqlx-sqlite 0.8.3
│ │ ├── sqlx-postgres 0.8.3
│ │ │ ├── sqlx-macros-core 0.8.3
│ │ │ └── sqlx 0.8.3
│ │ ├── sqlx-mysql 0.8.3
│ │ │ ├── sqlx-macros-core 0.8.3
│ │ │ └── sqlx 0.8.3
│ │ ├── sqlx-example-sqlite-todos 0.1.0
│ │ ├── sqlx-example-postgres-transaction 0.1.0
│ │ ├── sqlx-example-postgres-todos 0.1.0
│ │ ├── sqlx-example-postgres-mockable-todos 0.1.0
│ │ ├── sqlx-example-postgres-listen 0.1.0
│ │ ├── sqlx-example-postgres-json 0.1.0
│ │ ├── sqlx-example-postgres-files 0.1.0
│ │ ├── sqlx-example-postgres-chat 0.1.0
│ │ ├── sqlx-example-postgres-axum-social 0.1.0
│ │ ├── sqlx-example-mysql-todos 0.1.0
│ │ ├── sqlx-core 0.8.3
│ │ │ ├── sqlx-sqlite 0.8.3
│ │ │ ├── sqlx-postgres 0.8.3
│ │ │ ├── sqlx-mysql 0.8.3
│ │ │ ├── sqlx-macros-core 0.8.3
│ │ │ ├── sqlx-macros 0.8.3
│ │ │ └── sqlx 0.8.3
│ │ └── sqlx-cli 0.8.3
│ └── sqlx 0.8.3
├── sqlx-macros-core 0.8.3
├── sqlx-core 0.8.3
└── sqlx 0.8.3
```
Result of cargo update:
```
Updating crates.io index
Updating addr2line v0.21.0 -> v0.24.2
Removing adler v1.0.2
Adding adler2 v2.0.0
Removing ahash v0.8.11
Updating aho-corasick v1.1.2 -> v1.1.3
Updating allocator-api2 v0.2.16 -> v0.2.21
Updating anstream v0.6.13 -> v0.6.18
Updating anstyle v1.0.6 -> v1.0.10
Updating anstyle-parse v0.2.3 -> v0.2.6
Updating anstyle-query v1.0.2 -> v1.1.2
Updating anstyle-wincon v3.0.2 -> v3.0.6
Updating anyhow v1.0.81 -> v1.0.95
Updating arrayvec v0.7.4 -> v0.7.6
Updating assert_cmd v2.0.14 -> v2.0.16
Updating async-channel v2.2.0 -> v2.3.1
Updating async-executor v1.8.0 -> v1.13.1
Updating async-io v2.3.2 -> v2.4.0
Updating async-lock v3.3.0 -> v3.4.0
Updating async-task v4.7.0 -> v4.7.1
Updating async-trait v0.1.77 -> v0.1.85
Updating autocfg v1.1.0 -> v1.4.0
Updating aws-lc-rs v1.8.0 -> v1.12.0
Updating aws-lc-sys v0.19.0 -> v0.24.1
Updating backtrace v0.3.69 -> v0.3.74
Updating base64 v0.22.0 -> v0.22.1
Removing basic-toml v0.1.9
Updating bigdecimal v0.4.3 -> v0.4.7
Updating bindgen v0.69.4 -> v0.69.5 (latest: v0.71.1)
Updating bitflags v2.4.2 -> v2.7.0
Updating blocking v1.5.1 -> v1.6.1
Updating borsh v1.5.1 -> v1.5.3
Updating borsh-derive v1.5.1 -> v1.5.3
Updating bstr v1.9.1 -> v1.11.3
Updating bumpalo v3.15.4 -> v3.16.0
Updating bytes v1.5.0 -> v1.9.0
Updating camino v1.1.6 -> v1.1.9
Updating cargo-platform v0.1.7 -> v0.1.9
Updating cc v1.1.6 -> v1.2.8
Adding cfg_aliases v0.1.1 (latest: v0.2.1)
Updating chrono v0.4.35 -> v0.4.39
Updating clap v4.5.2 -> v4.5.26
Updating clap_builder v4.5.2 -> v4.5.26
Updating clap_complete v4.5.1 -> v4.5.42
Updating clap_derive v4.5.0 -> v4.5.24
Updating clap_lex v0.7.0 -> v0.7.4
Updating cmake v0.1.50 -> v0.1.52
Updating colorchoice v1.0.0 -> v1.0.3
Updating concurrent-queue v2.4.0 -> v2.5.0
Updating console v0.15.8 -> v0.15.10
Adding core-foundation v0.10.0
Updating core-foundation-sys v0.8.6 -> v0.8.7
Updating cpufeatures v0.2.12 -> v0.2.16
Updating crc v3.0.1 -> v3.2.1
Updating crossbeam-deque v0.8.5 -> v0.8.6
Updating crossbeam-queue v0.3.11 -> v0.3.12
Updating crossbeam-utils v0.8.19 -> v0.8.21
Updating darling v0.20.8 -> v0.20.10
Updating darling_core v0.20.8 -> v0.20.10
Updating darling_macro v0.20.8 -> v0.20.10
Updating der v0.7.8 -> v0.7.9
Updating dunce v1.0.4 -> v1.0.5
Updating either v1.10.0 -> v1.13.0
Updating encode_unicode v0.3.6 -> v1.0.0
Updating env_filter v0.1.0 -> v0.1.3
Updating env_logger v0.11.3 -> v0.11.6
Adding erased-serde v0.4.5
Updating errno v0.3.8 -> v0.3.10
Removing event-listener v4.0.3
Removing event-listener v5.2.0
Adding event-listener v5.4.0
Removing event-listener-strategy v0.4.0
Removing event-listener-strategy v0.5.0
Adding event-listener-strategy v0.5.3
Updating fastrand v2.0.1 -> v2.3.0
Updating filetime v0.2.23 -> v0.2.25
Removing finl_unicode v1.2.0
Updating flume v0.11.0 -> v0.11.1
Updating foldhash v0.1.3 -> v0.1.4
Updating futures v0.3.30 -> v0.3.31
Updating futures-channel v0.3.30 -> v0.3.31
Updating futures-core v0.3.30 -> v0.3.31
Updating futures-executor v0.3.30 -> v0.3.31
Updating futures-io v0.3.30 -> v0.3.31
Updating futures-lite v2.2.0 -> v2.5.0
Updating futures-macro v0.3.30 -> v0.3.31
Updating futures-sink v0.3.30 -> v0.3.31
Updating futures-task v0.3.30 -> v0.3.31
Updating futures-util v0.3.30 -> v0.3.31
Updating getrandom v0.2.12 -> v0.2.15
Updating gimli v0.28.1 -> v0.31.1
Updating glob v0.3.1 -> v0.3.2
Updating half v2.4.0 -> v2.4.1
Removing hashbrown v0.14.5
Adding hermit-abi v0.4.0
Updating httparse v1.8.0 -> v1.9.5
Updating hyper v0.14.28 -> v0.14.32 (latest: v1.5.2)
Updating iana-time-zone v0.1.60 -> v0.1.61
Updating indexmap v2.2.5 -> v2.7.0
Updating instant v0.1.12 -> v0.1.13
Updating is-terminal v0.4.12 -> v0.4.13
Adding is_terminal_polyfill v1.70.1
Updating itoa v1.0.10 -> v1.0.14
Updating jobserver v0.1.31 -> v0.1.32
Updating js-sys v0.3.69 -> v0.3.76
Updating lazy_static v1.4.0 -> v1.5.0
Updating libc v0.2.153 -> v0.2.169
Updating libloading v0.8.4 -> v0.8.6
Updating libm v0.2.8 -> v0.2.11
Updating libredox v0.0.1 -> v0.1.3
Updating linux-raw-sys v0.4.13 -> v0.4.15 (latest: v0.7.0)
Updating litemap v0.7.3 -> v0.7.4
Updating lock_api v0.4.11 -> v0.4.12
Updating log v0.4.21 -> v0.4.24
Updating lru v0.12.3 -> v0.12.5
Updating mac_address v1.1.5 -> v1.1.7
Updating memchr v2.7.1 -> v2.7.4
Adding memoffset v0.9.1
Updating miniz_oxide v0.7.2 -> v0.8.2
Adding mio v1.0.3
Removing mirai-annotations v1.12.0
Updating native-tls v0.2.11 -> v0.2.12
Adding nix v0.28.0 (latest: v0.29.0)
Updating num-bigint v0.4.4 -> v0.4.6
Updating num-iter v0.1.44 -> v0.1.45
Updating num-traits v0.2.18 -> v0.2.19
Removing num_cpus v1.16.0
Updating object v0.32.2 -> v0.36.7
Updating once_cell v1.19.0 -> v1.20.2
Updating oorandom v11.1.3 -> v11.1.4
Updating openssl v0.10.64 -> v0.10.68
Updating openssl-src v300.2.3+3.2.1 -> v300.4.1+3.4.0
Updating openssl-sys v0.9.101 -> v0.9.104
Updating parking v2.2.0 -> v2.2.1
Updating parking_lot v0.12.1 -> v0.12.3
Updating parking_lot_core v0.9.9 -> v0.9.10
Updating paste v1.0.14 -> v1.0.15
Updating pin-project v1.1.5 -> v1.1.8
Updating pin-project-internal v1.1.5 -> v1.1.8
Updating pin-project-lite v0.2.13 -> v0.2.16
Updating piper v0.2.1 -> v0.2.4
Updating pkg-config v0.3.30 -> v0.3.31
Updating plotters v0.3.5 -> v0.3.7
Updating plotters-backend v0.3.5 -> v0.3.7
Updating plotters-svg v0.3.5 -> v0.3.7
Updating polling v3.5.0 -> v3.7.4
Updating ppv-lite86 v0.2.17 -> v0.2.20
Updating predicates v3.1.0 -> v3.1.3
Updating predicates-core v1.0.6 -> v1.0.9
Updating predicates-tree v1.0.9 -> v1.0.12
Updating prettyplease v0.2.17 -> v0.2.27
Updating proc-macro-crate v3.1.0 -> v3.2.0
Updating proc-macro2 v1.0.89 -> v1.0.93
Updating quote v1.0.35 -> v1.0.38
Updating rayon v1.9.0 -> v1.10.0
Updating redox_syscall v0.4.1 -> v0.5.8
Updating redox_users v0.4.4 -> v0.4.6 (latest: v0.5.0)
Updating regex v1.10.3 -> v1.11.1
Updating regex-automata v0.4.6 -> v0.4.9
Updating regex-syntax v0.8.2 -> v0.8.5
Updating rkyv v0.7.44 -> v0.7.45 (latest: v0.8.9)
Updating rkyv_derive v0.7.44 -> v0.7.45 (latest: v0.8.9)
Updating rsa v0.9.6 -> v0.9.7
Updating rust_decimal v1.34.3 -> v1.36.0
Updating rustc-demangle v0.1.23 -> v0.1.24
Removing rustix v0.37.27
Removing rustix v0.38.31
Adding rustix v0.37.28 (latest: v0.38.43)
Adding rustix v0.38.43
Updating rustls v0.23.11 -> v0.23.21
Updating rustls-native-certs v0.8.0 -> v0.8.1
Updating rustls-pemfile v2.1.2 -> v2.2.0
Updating rustls-pki-types v1.7.0 -> v1.10.1
Updating rustls-webpki v0.102.5 -> v0.102.8
Updating rustversion v1.0.17 -> v1.0.19
Updating ryu v1.0.17 -> v1.0.18
Updating schannel v0.1.23 -> v0.1.27
Removing security-framework v2.9.2
Adding security-framework v2.11.1 (latest: v3.2.0)
Adding security-framework v3.2.0
Updating security-framework-sys v2.9.1 -> v2.14.0
Updating semver v1.0.22 -> v1.0.24
Updating serde v1.0.197 -> v1.0.217
Updating serde_derive v1.0.197 -> v1.0.217
Adding serde_fmt v1.0.3
Updating serde_json v1.0.114 -> v1.0.135
Adding serde_spanned v0.6.8
Updating signal-hook-mio v0.2.3 -> v0.2.4
Updating signal-hook-registry v1.4.1 -> v1.4.2
Updating simdutf8 v0.1.4 -> v0.1.5
Updating smallvec v1.13.1 -> v1.13.2
Updating socket2 v0.5.6 -> v0.5.8
Removing spin v0.5.2
Updating stringprep v0.1.4 -> v0.1.5
Removing strsim v0.10.0
Removing strsim v0.11.0
Adding strsim v0.11.1
Updating subtle v2.5.0 -> v2.6.1
Adding sval v2.13.2
Adding sval_buffer v2.13.2
Adding sval_dynamic v2.13.2
Adding sval_fmt v2.13.2
Adding sval_json v2.13.2
Adding sval_nested v2.13.2
Adding sval_ref v2.13.2
Adding sval_serde v2.13.2
Updating syn v2.0.87 -> v2.0.96
Removing syn_derive v0.1.8
Adding target-triple v0.1.3
Updating tempfile v3.10.1 -> v3.15.0
Updating termtree v0.4.1 -> v0.5.1
Removing thiserror v1.0.58
Removing thiserror v2.0.0
Adding thiserror v1.0.69 (latest: v2.0.11)
Adding thiserror v2.0.11
Removing thiserror-impl v1.0.58
Removing thiserror-impl v2.0.0
Adding thiserror-impl v1.0.69 (latest: v2.0.11)
Adding thiserror-impl v2.0.11
Updating time v0.3.36 -> v0.3.37
Updating time-macros v0.2.18 -> v0.2.19
Updating tinyvec v1.6.0 -> v1.8.1
Updating tokio v1.36.0 -> v1.43.0
Updating tokio-macros v2.2.0 -> v2.5.0
Updating tokio-stream v0.1.14 -> v0.1.17
Adding toml v0.8.19
Updating toml_datetime v0.6.6 -> v0.6.8
Updating toml_edit v0.21.1 -> v0.22.22
Updating tower-layer v0.3.2 -> v0.3.3
Updating tower-service v0.3.2 -> v0.3.3
Updating tracing v0.1.40 -> v0.1.41
Updating tracing-attributes v0.1.27 -> v0.1.28
Updating tracing-core v0.1.32 -> v0.1.33
Updating trybuild v1.0.89 -> v1.0.101
Adding typeid v1.0.2
Updating unicode-bidi v0.3.15 -> v0.3.18
Updating unicode-ident v1.0.12 -> v1.0.14
Updating unicode-normalization v0.1.23 -> v0.1.24
Adding unicode-properties v0.1.3
Updating unicode-segmentation v1.11.0 -> v1.12.0
Removing unicode-width v0.1.13
Adding unicode-width v0.1.14 (latest: v0.2.0)
Adding unicode-width v0.2.0
Updating url v2.5.3 -> v2.5.4
Updating utf8parse v0.2.1 -> v0.2.2
Updating uuid v1.7.0 -> v1.11.1
Updating value-bag v1.8.0 -> v1.10.0
Adding value-bag-serde1 v1.10.0
Adding value-bag-sval2 v1.10.0
Updating version_check v0.9.4 -> v0.9.5
Updating waker-fn v1.1.1 -> v1.2.0
Updating wasm-bindgen v0.2.92 -> v0.2.99
Updating wasm-bindgen-backend v0.2.92 -> v0.2.99
Updating wasm-bindgen-futures v0.4.42 -> v0.4.49
Updating wasm-bindgen-macro v0.2.92 -> v0.2.99
Updating wasm-bindgen-macro-support v0.2.92 -> v0.2.99
Updating wasm-bindgen-shared v0.2.92 -> v0.2.99
Updating web-sys v0.3.69 -> v0.3.76
Updating webpki-roots v0.26.3 -> v0.26.7
Updating whoami v1.5.1 -> v1.5.2
Updating winapi-util v0.1.6 -> v0.1.9
Adding windows-sys v0.59.0
Updating windows-targets v0.52.4 -> v0.52.6 (latest: v0.53.0)
Updating windows_aarch64_gnullvm v0.52.4 -> v0.52.6 (latest: v0.53.0)
Updating windows_aarch64_msvc v0.52.4 -> v0.52.6 (latest: v0.53.0)
Updating windows_i686_gnu v0.52.4 -> v0.52.6 (latest: v0.53.0)
Adding windows_i686_gnullvm v0.52.6 (latest: v0.53.0)
Updating windows_i686_msvc v0.52.4 -> v0.52.6 (latest: v0.53.0)
Updating windows_x86_64_gnu v0.52.4 -> v0.52.6 (latest: v0.53.0)
Updating windows_x86_64_gnullvm v0.52.4 -> v0.52.6 (latest: v0.53.0)
Updating windows_x86_64_msvc v0.52.4 -> v0.52.6 (latest: v0.53.0)
Updating winnow v0.5.40 -> v0.6.24
Updating yoke v0.7.4 -> v0.7.5
Updating yoke-derive v0.7.4 -> v0.7.5
Updating zerocopy v0.7.32 -> v0.7.35 (latest: v0.8.14)
Updating zerocopy-derive v0.7.32 -> v0.7.35 (latest: v0.8.14)
Updating zerofrom v0.1.4 -> v0.1.5
Updating zerofrom-derive v0.1.4 -> v0.1.5
Updating zeroize v1.7.0 -> v1.8.1
Removing zeroize_derive v1.4.2
note: pass `--verbose` to see 88 unchanged dependencies behind latest
```
2025-01-13 14:44:52 -08:00
Austin Bonander
28cfdbb40c
Release/0.8.3 ( #3663 )
...
* chore: create 0.8.3 release
* fix: prevent dead-branch warning from Clippy in query macros
cc #3595
* fix: move `#[allow]` from previous commit to the `if` block
2025-01-03 20:28:57 -08:00
Paolo Barbolini
7d148bd96b
Bump hashbrown to v0.15
2024-12-24 01:52:20 -08:00
Paolo Barbolini
2b82ce3faa
Bump hashlink to v0.10
2024-12-12 12:43:39 -08:00
joeydewaal
1f6ce33df4
chore: remove BoxFuture's (non-breaking) ( #3629 )
...
* chore: reduce BoxFuture's when using recursion.
* remove BoxFuture's in WithSocket
* chore: better document previous changes
2024-12-12 12:43:22 -08:00
Ilya Bizyaev
35c78f5175
Support building with rustls but native certificates ( #3551 )
...
This adds an alternative TLS configuration that relies on rustls-native-certs,
for users who cannot bundle the MPL-licensed webpki-roots.
The approach is copied from reqwest:
* https://github.com/seanmonstar/reqwest/blob/3ad6e02cd/Cargo.toml#L48
* https://github.com/seanmonstar/reqwest/blob/3ad6e02cd/src/async_impl/client.rs#L513
— except error handling is relaxed to accommodate for tls_config.root_cert_path.
2024-11-27 16:39:18 -08:00
Paolo Barbolini
3e8952b0d4
Bump thiserror to v2.0.0 ( #3596 )
2024-11-26 11:01:33 -08:00
Henri Sivonen
4fac945d5a
Remove default-features = false from url ( #3601 )
...
Fixes #3589 .
2024-11-26 11:01:18 -08:00
Trevor
cadf152e99
fix: remove sqlformat
( #3545 )
...
* removed sqlformat from sql-core/src/logger.rs causing ref error to FormatOptions
* removed sqlformat from sql-core/src/logger.rs causing ref error to FormatOptions
---------
Co-authored-by: tbarnes <tbarnes@tbserver.tbarnes-server.local>
2024-10-04 21:34:18 -07:00
vsuryamurthy
293c55ce89
Remove unused dependencies from sqlx-core, sqlx-cli and sqlx-postgres
2024-09-24 18:46:31 -07:00
John Vandenberg
063953fe60
chore: Update async-std v1.13 in lock file ( #3491 )
2024-09-08 21:52:59 -07:00
Austin Bonander
c253e65819
chore: prepare 0.8.2 release
2024-09-03 14:14:56 -07:00
Austin Bonander
9c94ce891a
chore: prepare release 0.8.1
2024-08-24 00:17:41 -07:00
Austin Bonander
71f72e2620
fix(mysql): add sqlx
as a dev-dependency for doctests
2024-08-23 23:39:32 -07:00
Dirkjan Ochtman
a892ebc6e2
Upgrade to rustls 0.23 ( #3399 )
2024-08-04 16:39:13 -07:00
Frank Elsinga
fd4cb99fc7
chore(examples):Migrated the pg-chat example to ratatui ( #3385 )
...
* migrated the pg-chat example to ratatui
* fixed formatting mistake
2024-07-29 04:35:27 -07:00
Frank Elsinga
49d5dd7f42
bumped to libsqlite3-sys=0.30.1
( #3382 )
2024-07-27 17:59:00 -07:00
Frank Elsinga
e089d2fb55
bumped cargo_metadata to v0.18.1
( #3386 )
2024-07-27 16:19:26 -07:00
tottoto
4ce181f869
chore: replace structopt with clap in examples ( #3380 )
2024-07-27 02:51:20 -07:00
Yuta Kobayashi
f2fea27cba
Fix encoding and decoding of MySQL enums in sqlx::Type
( #3371 )
2024-07-25 02:47:36 -07:00
Austin Bonander
da0ffd7dcf
chore: bump version to 0.8.0
2024-07-22 18:36:35 -07:00
Frank Elsinga
b37b34bd04
chore:added a testcase for sqlx migrate add ...
( #3352 )
2024-07-19 18:50:18 -07:00
Austin Bonander
16e3f1025a
fix(postgres): add missing type resolution for arrays by name
2024-07-08 00:14:19 -07:00
Filip Gospodinov
5d6c33ed65
bump rustls to 0.21.11 ( #3216 )
...
This fixes security issue RUSTSEC-2024-0336 [1].
[1] https://rustsec.org/advisories/RUSTSEC-2024-0336
2024-04-26 16:26:52 -07:00
BlackSoulHub
6a4f61e3b3
Update time to 0.3.36 ( #3190 )
...
* update time to 0.3.35
* fmt fix
* update version to 0.3.36
2024-04-11 19:26:12 -07:00
Gnome!
3e7aa6bedf
Bump deps that do not need code changes ( #3165 )
2024-04-06 00:07:36 -07:00
Paolo Barbolini
e0a72cf8f2
Drop urlencoding dependency ( #3162 )
2024-03-30 16:17:04 -07:00
Jesse Wang
936744dfd6
Fix describe on PostgreSQL views with rules ( #2736 )
...
* fix postgres describe on multiple explains
* inline the first explain using smallvec
* fix: regenerate `Cargo.lock`
---------
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2024-03-14 12:05:44 -07:00
Luiz Carvalho
8f926e590c
refac: rebase syn 2 changes
2024-03-14 12:03:40 -07:00
Austin Bonander
248d6170a7
chore: prepare 0.7.4 release
2024-03-11 22:01:04 -07:00
Rafael Guerreiro
e8fc35a5a4
Remove sha1 because it's not being used in postgres
2024-03-05 18:10:33 -08:00
Matt Fellenz
b615d2a826
Use create_new
instead of atomic-file-write
( #2914 )
...
* Use `create_new` instead of `atomic-file-write`
This provides the same functionality but without temporary files, platform-specific code, fragility of `O_TMPFILE` support, and an extra dependency.
* Properly handle acceptable failure cases
* Consider `PermissionDenied` as acceptable
Apparently this can occur on Windows.
---------
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2024-02-24 01:49:51 -08:00
iamjpotts
235604fbce
chore(dev-deps): Upgrade env_logger from 0.9 to 0.11 ( #3009 )
...
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-01-25 23:30:25 -08:00
iamjpotts
3946cc82db
chore(deps): Upgrade criterion to 0.5.1 ( #3010 )
...
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-01-25 23:30:14 -08:00
iamjpotts
5890afe95b
chore(deps): Replace unmaintained tempdir crate with tempfile ( #3006 )
...
Signed-off-by: Joshua Potts <8704475+iamjpotts@users.noreply.github.com>
2024-01-22 20:16:06 -08:00
takenoko-gohan
609fcc33e3
Update ahash to 0.8.7 ( #2996 )
2024-01-17 19:15:51 -08:00
Josh Triplett
a5c1cd021c
sqlx-core: Remove dotenvy dependency
...
sqlx-core doesn't use dotenvy. Removing it means that users who only
depend on sqlx with sqlite and default-feature = false don't need it.
2024-01-14 21:56:54 -08:00
Vraj Shah
e214a08ede
Fixed docs
2023-11-25 10:11:00 -05:00
Austin Bonander
31d402b469
chore: prepare 0.7.3 release
2023-11-22 17:43:46 -08:00
Vraj Shah
fda415927a
Sqlx Cli: Added force flag to drop database for postgres ( #2873 )
...
* Updated ahash so it can compile on mac
* Updated MigrateDatabase Trait + related functions
* Postgres force drop database flag impl
* Update migrate.rs
* Reverted MigrateDatabase Trait
* Update migrate.rs
* Update migrate.rs
* Added force drop database fn impl
* Add Migrate Error
* Fixed changed function name
2023-11-21 11:11:08 -08:00
Dirkjan Ochtman
068ea14665
chore: bump some sqlx-core dependencies ( #2826 )
...
* chore: update Cargo.lock
* chore: avoid deprecated chrono API
* chore: avoid deprecated rustls API
* chore: bump webpki-roots to 0.25
* chore: remove unused generic-array dependency
2023-10-23 15:19:55 -07:00
Gregor Giesen
54c5d6bc3c
derive FromRow: sqlx(default) for all fields ( #2801 )
...
* derive FromRow: sqlx(default) for all fields
* error in test_struct_default fixed
* derive FromRow: struct level sqlx(default) requires and uses Default implementation
* Update sqlx-core/src/from_row.rs
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
* Update sqlx-core/src/from_row.rs
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
* satify cargo fmt
---------
Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2023-10-17 16:13:40 -07:00
Uttarayan Mondal
b85b72355e
[fix] Urlencode when passing filenames to sqlite3 ( #2655 )
2023-10-17 11:44:25 -07:00
Austin Bonander
58cb18a47a
fix: correct decoding of rust_decimal::Decimal
for high-precision values ( #2820 )
...
also fixes handling of feature flags
2023-10-16 14:03:28 -07:00
Adriano Di Luzio
6bec8574d4
Remove unused remove_dir_all
crate ( #2757 )
2023-09-25 18:01:56 -07:00
Adam Cigánek
c2c2b9a7ed
Bump flume to v0.11.0 ( #2384 ) ( #2750 )
2023-09-21 17:48:28 -07:00
Ameer Ghani
84f21e99ef
cli: add --target-version CLI flags for migrate run/revert ( #2538 )
...
* cli: add --target-version CLI flags for migrate run/revert
* cli: fix broken test
* cli: test harness for `sqlx migrate` along with --target-version tests
* cli: Fail if version supplied to run/revert is too old/new
After some discussion with my coworkers, we thought about the behavior a bit more:
The behavior is now that for a run, if the provided version is too old, the CLI
will return with failure rather than being a no-op. This gives feedback to the
operator instead of being quiet.
It is still valid to up/downgrade to the latest version, this will still be a no-op
to allow for idempotency.
2023-07-31 12:49:53 -07:00
Joakim Malmberg
8cad54cc9f
Add postgres chat exmaple ( #2577 )
...
Co-authored-by: Stephen <webmaster@scd31.com>
2023-07-24 16:09:06 -07:00
Austin Bonander
c70cfaf035
prepare 0.7.1 release ( #2621 )
2023-07-14 17:24:52 -07:00
Jon Heinritz
8b223e24d3
Update clap to v4.3.10 ( #2576 )
2023-07-09 13:13:43 -07:00