Aurelia Molzer
Aurelia Molzer
> […] but the debian build system doesn't allow network access during builds. Is it possible to have a shallow git checkout of the repo data? Because the repository URL...
My problem with `lzw-testcases` as a _crate_ is that even uploading to `crates.io` is rather expensive (to their infrastructure) and feels wrong. Not to mention that they have arbitrary limits...
@alexanderkjall As a specific suggestion, let's say we export test data as a `git-pack-objects` archive. Would such a second file, auxiliary to the `.crate`, be acceptable for the Debian package...
I've prototyped that system. Basically, just supplement the usual `git fetch` by a precalculated object-pack. Then tests can import that object pack from disk. This mode no longer requires explicit...
If you want to test integration in your tooling, grab: - https://crates.io/crates/xtest-data/1.0.0-beta.2 - https://github.com/HeroicKatora/xtest-data/releases/download/v1.0.0-beta.2/xtest-data.tar.gz - `tar xzf $src/xtest-data-1.0.0-beta.2.crate`, `cd xtest-data-1.0.0-beta.2`, `tar xzf $src/xtest-data.tar.gz` - `TMPDIR=/tmp CARGO_XTEST_DATA_PACK_OBJECTS="$(pwd)/target/xtest-data" cargo test`
Trading performance for some well-reviewed `unsafe` can be okay, `imageproc` needs to do it as well. It is, however, not the preferred resolution. In my experience, a large part of...
[We can't say that it is not used at all](https://github.com/search?q=%22image%3A%3Amath%3A%3Anq%22&type=code&l=rust). That said, the code was at some point extracted as a separate crate: [`color_quant`](https://crates.io/crates/color_quant/reverse_dependencies).
Which was transferred to `image-rs` not too long ago, by the way: https://github.com/image-rs/color_quant
That seems useful, yeah. There probably needs to be one pass ensuring that the implementation hasn't diverged but I see you're already busy merging them :slightly_smiling_face:
> NOTE: I have put num-traits behind a new alloc feature b/c it seems to be the convention, but I can change it if you want? Isn't it possible to...