Skip to content

Commit 3604c6b

Browse files
authored
fix(readme): mention offline feature
closes #1490
1 parent 35c5e32 commit 3604c6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ sqlx = { version = "0.5", features = [ "runtime-async-std-native-tls" ] }
179179

180180
- `tls`: Add support for TLS connections.
181181

182+
- `offline`: Enables building the macros in offline mode when a live database is not available (such as CI).
183+
- Requires `sqlx-cli` installed to use. See [sqlx-cli/README.md][readme-offline].
184+
185+
[readme-offline]: sqlx-cli/README.md#enable-building-in-offline-mode-with-query
186+
182187
## SQLx is not an ORM!
183188

184189
SQLx supports **compile-time checked queries**. It does not, however, do this by providing a Rust

0 commit comments

Comments
 (0)