dbuenzli / bytesrw

Composable byte stream readers and writers for OCaml
https://erratique.ch/software/bytesrw
ISC License
12 stars 0 forks source link

Cannot install package via opam. #1

Open zoj613 opened 1 month ago

zoj613 commented 1 month ago

The README suggests that this project can be installed via opam, but opam install bytesrw errors with No package named bytesrw found. I searched on the opam site and this package does not show up in the search index. Is there something that can be done about this?

dbuenzli commented 1 month ago

I'm afraid not. You have to wait. Hopefully this will happen at least by december. If you feel adventurous:

opam pin add git+https://erratique.ch/repos/bytesrw.git
zoj613 commented 1 month ago

Thanks for the suggestion. Since this project contains Gzip and Zstd compression/decompression in one package, i'll go ahead and install it via pinning.

PS: please also add CRC32C hashing if possible.

dbuenzli commented 1 month ago

PS: please also add CRC32C hashing if possible.

Do you have any library in mind ? Linux distribution support for this crc32c library seems spotty. It also feels a bit silly and quite a lot of work to have only support for that particular CRC32 polynomial.

zoj613 commented 1 month ago

PS: please also add CRC32C hashing if possible.

Do you have any library in mind ? Linux distribution support for this crc32c library seems spotty. It also feels a bit silly and quite a lot of work to have only support for that particular CRC32 polynomial.

There is rhash and gsutil>=4.4, but it appears they are just commandline programs. I am currently using https://github.com/mirage/checkseum but I'd much rather have most of the functionality I need under one package where possible.