Skip to content

Commit

Permalink
chore: Polish before release (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
oblique authored Apr 15, 2024
1 parent 111bc56 commit d64bc87
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ license = "Apache-2.0"
description = "An IPLD blockstore capable of holding arbitrary data indexed by CID"
authors = ["Eiger <[email protected]>"]
homepage = "https://www.eiger.co"
repository = "https://github.com/eigerco/lumina"
repository = "https://github.com/eigerco/blockstore"
readme = "README.md"
rust-version = "1.75"
# crates.io is limited to 5 keywords and 5 categories
Expand Down Expand Up @@ -52,7 +52,9 @@ redb = ["dep:redb", "dep:tokio"]
sled = ["dep:sled", "dep:tokio"]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docs_rs"]
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]

[package.metadata.cargo-udeps.ignore]
development = ["multihash-codetable"]
4 changes: 3 additions & 1 deletion src/indexed_db_blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ const DB_VERSION: u32 = 1;

const BLOCK_STORE: &str = "BLOCKSTORE.BLOCKS";

/// A [`Blockstore`] implementation backed by an `IndexedDb` database.
/// A [`Blockstore`] implementation backed by an [IndexedDB] database.
///
/// [IndexedDB]: https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB
#[derive(Debug)]
pub struct IndexedDbBlockstore {
db: Rexie,
Expand Down
2 changes: 1 addition & 1 deletion src/redb_blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl RedbBlockstore {
/// Returns the raw [`redb::Database`].
///
/// This is useful if you want to pass the database handle to any other
/// stores (e.g. [`blockstore`]).
/// stores.
pub fn raw_db(&self) -> Arc<Database> {
self.db.clone()
}
Expand Down

0 comments on commit d64bc87

Please sign in to comment.