Skip to content

Commit

Permalink
dump: dump dustdata version to 0.2.0-alpha.6
Browse files Browse the repository at this point in the history
  • Loading branch information
peeeuzin committed Jan 22, 2025
1 parent ef662e3 commit 74acfec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dustdata"
version = "2.0.0-beta.5"
version = "2.0.0-beta.6"
edition = "2021"
description = "A data concurrency control storage engine to Rustbase"
repository = "https://github.com/rustbase/dustdata"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Add the following to your `Cargo.toml`:

```toml
[dependencies]
dustdata = "2.0.0-beta.3"
dustdata = "2.0.0-beta.6"
```

# Usage
Expand Down Expand Up @@ -46,13 +46,13 @@ let user = User {
};

// Creating a new transaction.
let mut transaction = collection.start();
let mut transaction = collection.start_branch();

// Inserting the user into the transaction.
transaction.insert("user:1", user);

// Committing the transaction.
collection.commit(&mut transaction).unwrap();
collection.commit(transaction).unwrap();

// Done!
```
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
//! };
//!
//! // Creating a new transaction.
//! let mut transaction = collection.start();
//! let mut transaction = collection.start_branch();
//!
//! // Inserting the user into the transaction.
//! transaction.insert("user:1", user);
//!
//! // Committing the transaction.
//! collection.commit(&mut transaction).unwrap();
//! collection.commit(transaction).unwrap();
//!
//! // Done!
//! ```
Expand Down

0 comments on commit 74acfec

Please sign in to comment.