Commit graph

116 commits

Author SHA1 Message Date
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
依云
5b8bb3b28b
Add a "sqlite-unbundled" feature that dynamically links to system libsqlite3.so library (#3507)
* Add a "sqlite-unbundled" feature that dynamically links to system libsqlite3.so library

* update README abouot the newly-added `sqlite-unbundled` feature

* Update README.md to make it clear with bulleted list

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>

* more cfg feature updates

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>

* update documentation in sqlx-sqlx/src/lib.rs too

and also mention possible build time increasement.

* cargo fmt

* Add "sqlite-unbundled" feature to sqlx-cli

* Add sqlite-unbundled to gituhb actions tests

* cfg(feature = "sqlite") => cfg(any(feature = "sqlite", feature = "sqlite-unbundled"))

* fix

* CI: make sqlite-unbundled tests workaround required-features

by duplicating the relevant test section

* use an internal "_sqlite" feature to do the conditional compilation

---------

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2024-10-02 11:55:21 -07:00
Austin Bonander
dc32f99c0f
doc(README): more prominent link for Discord 2024-09-13 11:49:56 -07:00
luveti
ad2936a9c4
Fix try_get example in README.md (#3474) 2024-09-01 02:14:55 -07:00
Austin Bonander
6f2905695b
doc: link to Ecosystem wiki page in README 2024-08-13 14:09:19 -07:00
Cosmo André
e783f9d47c
Update version to 0.8 in README (#3417)
* Changed version from 0.7 to 0.8

* Fixed version
2024-08-09 00:50:24 -07:00
Dirkjan Ochtman
a892ebc6e2
Upgrade to rustls 0.23 (#3399) 2024-08-04 16:39:13 -07:00
Luiz Carvalho
1c7b3d0751
feat: new derive feature flag (#3113)
* feat: new derive feature flag

* doc: add new derive flag to readme

* fix: macros feature flag cfg
2024-03-30 15:24:56 -07:00
Ian Gilfillan
9d2c52178d
Update README to clarify MariaDB support (#3001) 2024-01-19 19:46:10 -08:00
Austin Bonander
9b0a09387c
Update README.md 2024-01-05 18:51:27 -08:00
Tadgh Henry
9c45eaa062
Fixed badge styling
whitespace is being interpreted by the a tag causing blue hyperlinks to show up between the badges.
2024-01-02 12:49:53 -06:00
snspinn
7e9592c267
Update README.md (#2770)
* Update README.md

Quick helper on the async_std quickstart

* Move comment regard. `attributes` into code example

* doc(README): adjust wording of a comment

---------

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2023-10-06 14:02:34 -07:00
Austin Bonander
4bac21da37
doc: update mention of MSSQL in README 2023-10-04 15:55:04 -07:00
JJ Ferman
19e59ffa5a
Update README.md (#2717)
0.7 was released now, we can remove notes about it's pending release
2023-09-11 18:02:48 -07:00
Marcus Pettersen Irgens
b066af6b17
0.7 is stable (#2628)
Looks like the note one one of the examples was left out when updating the README.
2023-07-24 16:07:37 -07:00
Vabka
3268698f2e
Update README.md (#2613)
Actually there is `rust_decimal` feature,  not just `decimal`
2023-07-14 12:30:11 -07:00
Dennis Schubert
b283a31e4b
Correct mention of the tls-native-tls in the documentation. (#2593) 2023-07-08 12:42:50 -07:00
saolof
016884454b
Update README.md now that 0.7.0 is no longer in alpha (#2580)
* Update README.md

0.7.0 is now released on crates.io

* Update README.md

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>

---------

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2023-07-06 16:01:37 -07:00
vizvasrj
200e17bb04
in README.md, correct spelling and grammar (#2453)
* in README.md, correct spelling and grammar

* Update README.md

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>

* Update README.md

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>

* Update README.md

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>

* Update README.md

missing article (the) in line 274

---------

Co-authored-by: Austin Bonander <austin.bonander@gmail.com>
2023-05-04 12:59:35 -07:00
Austin Bonander
aa6c6d9752 fix(docs): update README for 0.7.0, note alpha cycle 2023-03-16 17:03:14 -07:00
Danilo Bargen
728280a2a3 README: Link build badge to workflow runs 2023-03-03 16:50:13 -08:00
Danilo Bargen
b61677d740 README: Fix build badge 2023-03-03 16:50:13 -08:00
Austin Bonander
b5312c3b6f Break drivers out into separate crates, clean up some technical debt (#2039)
* WIP rt refactors

* refactor: break drivers out into separate crates

also cleans up significant technical debt
2023-02-21 13:25:25 -08:00
Austin Bonander
a2eceec33b
chore: replace dotenv with dotenvy (#2003)
* chore: replace `dotenv` with `dotenvy`

The former appears to be unmaintained and the latter is a drop-in replacement.

* chore: fix all warnings
2022-07-28 14:33:44 -07:00
うらむんオイル
5e08cd077e
docs: update versions (#1993) 2022-07-26 15:46:38 -07:00
Romain
339e0580ca
fix #1905 : replaced all uses of "uri" to "url" (#1906)
* fix #1905 : replaced all uses of "uri" to "url"

* rebase commits

resolved conflicts in mod.rs

fixed conflict in options.rs

Update options.rs

Update options.rs

Update options.rs
2022-06-17 15:32:30 -07:00
LovecraftianHorror
5f7e25b81d
Make a note about sqlx macros opt level (#1685)
* docs: Add a snippet about opt levels for `sqlx-macros`

* docs: Fix does -> do
2022-02-15 20:14:41 -08:00
Kunjan Dalal
566b666df6
Added another ORM option which is build on SQLx (#1591) 2021-12-27 14:09:20 -08:00
Austin Bonander
fc056315db
fix(readme): mention examples 2021-11-09 17:55:55 -08:00
Austin Bonander
3604c6b9a0
fix(readme): mention offline feature
closes #1490
2021-11-09 17:35:37 -08:00
Austin Bonander
35c5e325aa
fix(readme): show runtime features in quickstart
closes #1492
2021-11-09 17:24:09 -08:00
Austin Bonander
51954fed8c
fix(readme): link to dotenv crate
closes #1405
2021-11-09 17:16:00 -08:00
Yerkebulan Tulibergenov
466d3f317d
Update README.md (#1479) 2021-10-20 16:40:34 -07:00
Vlad Frolov
24c0d5290b
docs: added a note about MySQL syntax in the README example (#1445) 2021-09-20 16:35:27 -07:00
Austin Bonander
bb330f8e68
feat(docs): add an FAQ (#1319) 2021-07-14 14:29:42 -07:00
Jonas Platte
4986ea2e59
Improve root README.md and sqlx-cli/README.md (#1262)
* readme: Fix inconsistent list style

* readme: Improve text alignment

* readme: Fix missing links

* readme: Consistently use code formatting for runtime & TLS crates and dedup links

* readme: Add SQLx is not an ORM section

* readme: Improve documentation about offline mode
2021-05-30 15:52:25 -07:00
Imbolc
98812561f6 Update README.md 2021-02-27 01:06:42 -08:00
Imbolc
cded993246 A little ambiguity in readme 2021-02-27 01:06:42 -08:00
Ryan Leckey
94d0baeb52
release: 0.5 2021-02-04 06:32:50 -08:00
Tim Habermaas
af7f259445 Remove fetch_scalar mention from README.md
The function no longer exists. Fixes #969.
2021-01-23 10:47:33 -08:00
Southball
ffc2c6c67a Fix README.md to include mysql flag 2020-12-22 20:08:48 -08:00
Ryan Leckey
565d0a91a3
release: v0.4.2 2020-12-19 01:07:50 -08:00
Ryan Leckey
54011f1893
docs: tweak quickstart fix PR for review comments 2020-12-18 21:33:51 -08:00
Kezi
3b80998801
use toml language in example
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-12-18 21:33:51 -08:00
Kezi
057ead3bf4
remove useless use 2020-12-18 21:33:51 -08:00
Kezi
60d3e182b4
Make quickstart actually quick
fixes #760
2020-12-18 21:33:51 -08:00
Josh Triplett
71a72e7c67 Add support for git2::Oid (under the git2 feature flag)
This allows queries to convert between Oid and SQL data types.
2020-11-21 14:32:29 -08:00
Josh Triplett
47b0973bdb Add support for bstr::BString (under the bstr feature flag)
This allows queries to convert between BString and SQL data types.
2020-11-21 14:03:11 -08:00
Alan D. Salewski
331e7bc564 README.md: group 'runtime-foo-*' features together by runtime 2020-11-12 11:39:19 -08:00
Alan D. Salewski
548d11cc22 README.md: remove duplicate feature entry: 'runtime-tokio-native-tls' 2020-11-12 11:39:19 -08:00