Commit Graph
9 Commits
Author SHA1 Message Date
Quentin Gliech 2162d28617 Map inet columns to IpAddr through sqlx.toml
Every `inet` column holds a single host address, so a type override in
the new per-crate `sqlx.toml` replaces the `as "col: IpAddr"` casts the
queries needed to avoid the default `IpNetwork` mapping. Both crates
using the query macros also pin `chrono` as the date/time crate.

This needs the `sqlx-toml` feature on `sqlx`. `sqlx-cli` needs it too,
as it refuses to run in a crate directory that contains a `sqlx.toml`
file otherwise. It is a default feature of `sqlx-cli`, so only the
`--no-default-features` install in the docs has to name it.
2026-10-09 17:26:26 +02:00
Quentin GliechandOlivier 'reivilibre' aa2cfc4bef Minor reword in the documentation
Co-authored-by: Olivier 'reivilibre' <oliverw@element.io>
2025-12-10 18:41:36 +01:00
Quentin GliechandCopilot 21f1b8a427 Fix typos
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-04 16:32:13 +01:00
Quentin Gliech 60bc0627b3 Developer documentation for modifying or removing database migrations 2025-12-04 15:14:33 +01:00
Quentin Gliech e8537473a4 docs: link to rustdoc pages from the mdbook 2023-01-27 11:40:19 +01:00
Quentin Gliech 6ad8b82a35 storage{,-pg}: better documentation of both crates 2023-01-26 18:13:14 +01:00
Quentin Gliech 13a9d03647 storage: user and user email repository 2023-01-02 15:28:44 +01:00
Quentin Gliech cb24cd095b Update documentation 2022-02-07 16:10:44 +01:00
Quentin Gliech 4d589b8fa1 Add some documentation as an mdBook 2021-09-24 19:10:17 +02:00