Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 872 Bytes

File metadata and controls

29 lines (21 loc) · 872 Bytes

MarcRecordEx

MarcRecordEx is an Elixir library for working with MARC records. This is a wrapper for the Rust Library marc_record

Installation

Rust

Install Rust

Installing Elixir

  • install asdf
  • asdf plugin add erlang
  • asdf plugin add elixir
  • asdf install

Rustler

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

Example

Start the iex console with iex -S mix and run the following code:

MarcRecord.parse_records("./samples/marc8_multiple.mrc")

License

marc-record-ex is distributed under the terms of the MIT license.