synapse/rust/src
Erik Johnston 1bddd25a85
Port Clock functions to use Duration class (#19229)
This changes the arguments in clock functions to be `Duration` and
converts call sites and constants into `Duration`. There are still some
more functions around that should be converted (e.g.
`timeout_deferred`), but we leave that to another PR.

We also changes `.as_secs()` to return a float, as the rounding broke
things subtly. The only reason to keep it (its the same as
`timedelta.total_seconds()`) is for symmetry with `as_millis()`.

Follows on from https://github.com/element-hq/synapse/pull/19223
2025-12-01 13:55:06 +00:00
..
acl Bump pyo3 to v0.23.2 (#17966) 2024-11-27 10:46:00 +00:00
events Python 3.14 support (#19055) 2025-11-03 11:53:59 +00:00
push Configure Synapse to run MSC4306: Thread Subscriptions Complement tests. (#18819) 2025-09-09 11:40:10 +01:00
rendezvous Port Clock functions to use Duration class (#19229) 2025-12-01 13:55:06 +00:00
duration.rs Port Clock functions to use Duration class (#19229) 2025-12-01 13:55:06 +00:00
errors.rs Speed up MAS token introspection (#18357) 2025-06-16 16:41:35 +01:00
http_client.rs Python 3.14 support (#19055) 2025-11-03 11:53:59 +00:00
http.rs Bump pyo3 to v0.23.2 (#17966) 2024-11-27 10:46:00 +00:00
identifier.rs Fix registering of background updates for split main/state db (#18509) 2025-06-25 13:59:18 +01:00
lib.rs Port Clock functions to use Duration class (#19229) 2025-12-01 13:55:06 +00:00
matrix_const.rs Move server event filtering logic to rust (#17928) 2024-11-14 16:18:24 +00:00
segmenter.rs Replace PyICU with Rust icu_segmenter crate (#18553) 2025-07-03 11:12:12 +01:00