Go to file
octavonce 0cf6fd016d feat: added list_cf/2
This commit introduces a function which will list column families inside an existing database.
2018-04-06 18:59:45 -04:00
bench build(): benchmarks 2017-04-14 15:20:22 -04:00
config initial commit 2016-08-08 11:51:04 -04:00
lib feat: added list_cf/2 2018-04-06 18:59:45 -04:00
native/rox_nif feat: added list_cf/2 2018-04-06 18:59:45 -04:00
test feat(): Allow creating database snapshots 2017-11-30 15:30:06 -05:00
.gitignore wip(rustler): wip port to rustler 2017-02-27 19:36:14 -05:00
History.md Release 2.2.1 2018-01-17 15:24:04 -05:00
LICENSE Release 1.0.0 2017-03-21 15:20:52 -04:00
README.md docs: update installation documentation to target rox ~> 2.0 2018-04-06 12:18:40 -04:00
mix.exs Release 2.2.1 2018-01-17 15:24:04 -05:00
mix.lock Release 1.2.2 2017-07-03 13:06:13 -04:00

README.md

Rox

Rustler (Rust) powered erlang NIFs for RocksDB

Installation

  1. Add rox to your list of dependencies in mix.exs.
def deps do
  [
    {:rox, "~> 2.0"},
  ]
end
  1. If using Elixir < 1.4, ensure rox is started before your application:
def application do
  [applications: [:rox]]
end

Dependencies

Rox requires that Rust be available at compile time.

Features

  • Support for column families.
  • Auto encoding of non-binary types (tuples, maps, lists, etc) via :erlang.term_to_binary/1.
  • Good Elixir citizen with Enumerable and Collectable being implemented for both ColumnFamily.t and DB.t structs.

License

Copyright 2016 Urbint

Licensed under the MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.