summary refs log tree commit diff
path: root/rust/src/events/internal_metadata.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update PyO3 to 0.21 (#17162)Erik Johnston2024-05-081-9/+13
| | | | | | | | | | This version change requires a migration to a new API. See https://pyo3.rs/v0.21.2/migration#from-020-to-021 This will fix the annoying warnings added when using the recent rust nightly: > warning: non-local `impl` definition, they should be avoided as they go against expectation
* Add support for MSC4115 (#17104)Richard van der Hoff2024-04-291-2/+7
| | | | Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* Port `EventInternalMetadata` class to Rust (#16782)Erik Johnston2024-01-081-0/+430
There are a couple of things we need to be careful of here: 1. The current python code does no validation when loading from the DB, so we need to be careful to ignore such errors (at least on jki.re there are some old events with internal metadata fields of the wrong type). 2. We want to be memory efficient, as we often have many hundreds of thousands of events in the cache at a time. --------- Co-authored-by: Quentin Gliech <quenting@element.io>