Matt Harbison <matt_harbison@yahoo.com> [Thu, 21 Nov 2024 11:46:10 -0500] rev 52316
setup: require TLS 1.2 support from the Python interpreter (BC)
Before it was optional, and either 1.1 or 1.2 was sufficient. Now that the
default minimum is 1.2, it needs to be present to work out of the box.
The code here is more convoluted than the corresponding checks in `sslutil.py`,
but I'm leaving it alone because it can all be simplified when py38 is dropped.
Matt Harbison <matt_harbison@yahoo.com> [Thu, 21 Nov 2024 01:07:47 -0500] rev 52315
run-tests: refactor the HGPORT handling code to use a constant for the max val
Simple enough, and then we don't need comments to cross-reference other areas of
code that need to be kept in sync. Since the `_getreplacements()` list is now
partially dynamically generated and needed to change anyway, also move the one
line that was being appended separately to the list for some reason, for clarity.
Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Mon, 18 Nov 2024 15:42:09 +0100] rev 52314
rust: fix darwin build
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 15:28:32 +0100] rev 52313
rust: remove `atty` dependency
It is fully replaced with the now stable `std::io::IsTerminal` trait.
This was the last dependency flagged as a warning by `cargo audit`,
aside from `cpython` which we know about all too well: the plan is to
transition to PyO3 soon-ish.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 15:33:17 +0100] rev 52312
rust: update `env_logger` dependency
Aside from being more up-to-date in general, this makes its own dependency
on the unmaintained and now useless `atty` disappear.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 15:23:41 +0100] rev 52311
rust: update `clap` to the latest 4.x version
This brings in more up-to-date dependencies, some bug fixes (none of which are
relevant yet), and slightly improved compile times.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 15:17:54 +0100] rev 52310
rust: fix `cargo doc` warnings
It makes sense to keep our doc build happy, even if it is lacking.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 13:43:36 +0100] rev 52309
rust-compression: move the `Send` bound to the `Compressor` trait
All compressors should be `Send`, might as well make any future use easier.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 12:10:22 +0100] rev 52308
rust-inner-revlog: cache the compressor
The `compress` function is unlikely to be used in highly contended situations,
and creating a compressor has some overhead, on top of losing out on some
potential advantages of longer-running optimizations from the compressor.
Raphaël Gomès <rgomes@octobus.net> [Mon, 04 Nov 2024 11:26:41 +0100] rev 52307
rust-lib: remove exports for not too common pattern-related types
This only muddies the lib and makes the imports more confusing.