Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Commit

Permalink
Use SQLite for persistence (and Rust for handling the SQL) (#12)
Browse files Browse the repository at this point in the history
* rust

* make diesel build

* make diesel build

* install cxx

* rust calls cpp!!!

* add cxx.path to allow Queryable in the ffi

* add db schema

* build outside client

* some fixes

* add cxx.patch

* upd cxx.patch

* more fixes

* IT COMPILES

* add diesel-cli

* implements friend address and random friends

* implement more daemon rpc methods!!

* implement getmessages

* compiles again!!

* updated deps. Add clap to rust for CLI

* everything is done!!!!

* updated deps. remove clap

* TEST 1 WORKED

* remove dev lock

Co-authored-by: Sualeh Asif <[email protected]>
  • Loading branch information
arvid220u and Sualeh Asif authored Jun 21, 2022
1 parent 35e3cfb commit 5b31528
Show file tree
Hide file tree
Showing 13 changed files with 1,814 additions and 22 deletions.
5 changes: 5 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# REMINDER: WHEN CHANGING THIS FILE, PLEASE CHANGE ALL .BAZELRC FILES IN ALL THREE REPOS!!!!
# (unfortunately, we cannot have a single source of truth...)

build --incompatible_enable_cc_toolchain_resolution

# this is for rules_rust
build --repo_env=RULES_RUST_TOOLCHAIN_INCLUDE_RUSTC_SRCS=true

# note: each bazelrc that try-imports this one needs to try-import the buildbuddy bazelrc but using the correct relative path
try-import %workspace%/../.buildbuddy.bazelrc

Expand Down
Loading

0 comments on commit 5b31528

Please sign in to comment.