crc
crc copied to clipboard
CRC library in elixir
It seems the CRC makefile may not be using the correct compiler when `CROSSCOMPILE` is set by Nerves. ## Comments added to crc_src/makefile ``` $(info "**** CRC PLATFORM set to...
Generated elixir_make app ==> crc C checksum_xor.c In file included from /app/deps/crc/c_src/nif/checksum_xor.c:4: /app/deps/crc/c_src/nif/checksum_xor.h:7:10: fatal error: stdlib.h: No such file or directory 7 | #include | ^~~~~~~~~~ compilation terminated. make: ***...
# Error ``` noven/deps/crc on main [!] is 📦 v0.9.2 via 💧 1.11.0 (OTP 23) via 23.2 🕙 [ 19:21:17 ] ❯ elixir -v Erlang/OTP 23 [erts-11.1.4] [source]...
Erlang version: 22.1 Elixir version: 1.9.1 crc version: 0.9.2 I'm getting the following error while compiling the dependencies with `mix deps.compile`: ``` could not compile dependency :crc, "mix compile" failed....
For small binaries an elixir implementation can be more performant especially for nerves devices. If we implement non-NIF version for CRC algorithm we could add an optional parameter to use...
**BREAKING CHANGE** Remove the [legacy algorithm specific functions](https://github.com/TattdCodeMonkey/crc/blob/master/lib/crc/legacy.ex) in favor of the single `calculate/2` with parameters.
Adding the hex packaged version as dependency into `rebar.config` results in a failure to build: ``` ===> Compiling elixir_make ===> Error building application elixir_make: No project builder is configured for...