No Description

Gwillz a67cd16b4c Fix librocks.dll in nsis installer. 8 months ago
cli 8657b6d971 Better build instruction, linux support. 8 months ago
lib 38e0b1d097 Updated fragments to return in alpha-numeric order. 8 months ago
qt a67cd16b4c Fix librocks.dll in nsis installer. 8 months ago
.gitignore 8657b6d971 Better build instruction, linux support. 8 months ago
LICENSE.md 8e6266deb9 Added license. 1 year ago
LICENSE.txt 407948eed8 Added NSIS installer script. 8 months ago
README.md 28778bb037 Added nullsoft link, fix typos. 8 months ago
converter.py 91bc519998 Changed to a 'replacer' algorithm. 1 year ago
description-database.txt b8124b4bf0 Example database update. 1 year ago

README.md

Rocks DB

This project has 3 parts.

  1. The librocks library, written in Rust.
  2. The CLI interface, written in Rust.
  3. The GUI interface, written in Qt/C++ (using Rust FFI bindings).

Building the library

CLI

cd rocks-db/cli

# Build
cargo build --release

# Dev run
cargo run

GUI

# build librocks
cd rocks-db/lib
cargo build --release

# build qt gui
cd ../qt
qmake -o build/Makefile

# For Linux
make -C build
./build/RocksDB

# For Windows
mingw32-make -C build
makensis
# Or right-click on install.nsi -> Compile NSIS script

Windows dependencies

These instructions intentionally use an older/outdated version of Qt (5.3) to support Windows XP.

The Rust compiler doesn't work on XP, but the build can be done on a newer OS (7, 8, 10).

It's probably also possible to cross-compile from Linux. Rust makes this easy with cargo build --target i686-pc-windows-gnu. I've never tried Qt cross-compiling, YMMV.

  • Install Git for Windows here
  • Install Rust (GCC 32bit) here
  • Install Qt 5.3 here
  • Install Nullsoft installer here

Authors

  • Anish Philips
  • Gwilyn Saunders

License

See LICENSE.md