Skip to content

Commit

Permalink
Temp remove nostr-rocksdb
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Jan 12, 2024
1 parent 031fc62 commit 4eda6a4
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 735 deletions.
157 changes: 0 additions & 157 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ The project is split up into several crates in the `crates/` directory:
* Libraries:
* [**nostr**](./crates/nostr/): Rust implementation of Nostr protocol.
* [**nostr-database**](./crates/nostr-database/): Database for Nostr apps
* [**nostr-rocksdb**](./crates/nostr-rocksdb/): RocksDB Storage backend for Nostr apps
* [**nostr-sqlite**](./crates/nostr-sqlite/): SQLite Storage backend for Nostr apps
* [**nostr-indexeddb**](./crates/nostr-indexeddb/): IndexedDB Storage backend for Nostr apps
* [**nostr-sdk**](./crates/nostr-sdk/): High level client library.
Expand Down
1 change: 0 additions & 1 deletion contrib/check-crates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ buildargs=(
"-p nostr-sdk --no-default-features"
"-p nostr-sdk --features blocking"
"-p nostr-sdk --features indexeddb --target wasm32-unknown-unknown"
#"-p nostr-sdk --features rocksdb"
"-p nostr-sdk --features sqlite"
"-p nostr-sdk --target wasm32-unknown-unknown"
)
Expand Down
1 change: 0 additions & 1 deletion crates/nostr-database/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ This library contains the `NostrDatabase` and `NostrDatabaseExt` traits. You can

* Memory (RAM), available in this library
* SQLite (desktop, server and mobile devices), available at [`nostr-sqlite`](https://crates.io/crates/nostr-sqlite)
* RocksDB (desktop, server and mobile devices), available at [`nostr-rocksdb`](https://crates.io/crates/nostr-rocksdb)
* IndexedDB (web), available at [`nostr-indexeddb`](https://crates.io/crates/nostr-indexeddb)

## Crate Feature Flags
Expand Down
4 changes: 1 addition & 3 deletions crates/nostr-database/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ pub use self::raw::RawEvent;
pub enum Backend {
/// Memory
Memory,
/// RocksDB
RocksDB,
/// Lightning Memory-Mapped Database
LMDB,
/// SQLite
Expand Down Expand Up @@ -109,7 +107,7 @@ pub trait NostrDatabase: AsyncTraitDeps {
/// Error
type Err: From<DatabaseError> + Into<DatabaseError>;

/// Name of the backend database used (ex. rocksdb, lmdb, sqlite, indexeddb, ...)
/// Name of the backend database used (ex. lmdb, sqlite, indexeddb, ...)
fn backend(&self) -> Backend;

/// Database options
Expand Down
29 changes: 0 additions & 29 deletions crates/nostr-rocksdb/Cargo.toml

This file was deleted.

17 changes: 0 additions & 17 deletions crates/nostr-rocksdb/README.md

This file was deleted.

Loading

0 comments on commit 4eda6a4

Please sign in to comment.