element-synapse/rust
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
..
benches Implement the push rules for experimental MSC4306: Thread Subscriptions. (#18762) 2025-08-06 15:33:52 +01:00
src Port Clock functions to use Duration class (#19229) 2025-12-01 13:55:06 +00:00
build.rs Implement push rule evaluation in Rust. (#13838) 2022-09-29 16:12:09 +01:00
Cargo.toml Python 3.14 support (#19055) 2025-11-03 11:53:59 +00:00