-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and improve pyo3
- Update all dependencies so that `cargo outdated -R` is satisfied. - Use declarative pyo3 modules. - The docs and the code disagreed on whether the auto compressor entry point is named `compress_largest_rooms`, `compress_state_events_table` or `compress_chunks_of_database`. Rename the entry point to `run_compression`, matching the manual compressor, and fix the docs. Leave `compress_largest_rooms` as another entry point to avoid breaking existing code. - Provide a default for `default_levels`. - Use `&str` instead of `String` in Python signatures where it simplifies the code or is necessary to include the default in the text signature. - Release the GIL while running the manual compressor. - Use `map_err` to simplify error conversion a bit. Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
- Loading branch information
Showing
8 changed files
with
493 additions
and
700 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.