Skip to content

demarque/marc-record-ex

Repository files navigation

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.

About

An Elixir library for parsing MARC21 records

Resources

License

Stars

Watchers

Forks

Packages

No packages published