kraktus

Results 108 comments of kraktus

Installation is still failing on M1 (same error)

Thank you for the workaround will try. What are the differences between `bloop` and `bloop-jvm`? If there is none for the end user, I might as well try to update...

What about relying on `serde` for custom validation instead? `clap` would serialise it, and users who would write custom deserialisation, helped with the helper methods of serde. That would a...

Why not use [`Bitvec::to_vec`](https://docs.rs/bitvec/latest/bitvec/vec/struct.BitVec.html#method.into_vec)?

> @kraktus That documentation you linked to is for `into_vec`, not `to_vec`. `into_vec` just gives you the underlying `Vec` in which the bits are stored, so this is unsuitable for...

Alternatively you can just set the backend type of the `Bitvec` to be `u8`, then use [Bitvec::to_vec](https://docs.rs/bitvec/latest/bitvec/vec/struct.BitVec.html#method.into_vec) which will definitely not allocate.

> Yes but converting from `BitSlice` to `BitVec` _will_ allocate, which is not what I want. `BitSlice` implements `Read` too, which could fit you needs, you'll need to check the...

Thanks for your interest, yes I currently use a workaround with `Square::ubackward`. I agree with a new function `en_passant_target` which will make the change much easier to deploy as non-breaking....