MarcRecordEx is an Elixir library for working with MARC records. This is a wrapper for the Rust Library marc_record
Install Rust
- install asdf
asdf plugin add erlang
asdf plugin add elixir
asdf install
Rustler is a library used to make NIF out of Rust code. A NIF file allows the Erlang VM to call Rust code. It is then used to call the Rust code from Elixir.
mix deps.get
Start the iex console with iex -S mix
and run the following code:
MarcRecord.parse_records("./samples/marc8_multiple.mrc")
marc-record-ex
is distributed under the terms of the MIT license.