Skip to content

Commit

Permalink
Release 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowneee committed Aug 5, 2023
1 parent 2cf01d6 commit 0bb6aea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## Unreleased
## [0.0.5] - 2023-08-05
### Added
- `into_space` method to `ExecutorExt` trait, wich return `Space` with underlying `Executor`;
- `.commit()` and `.rollback()` methods to `Space<Transaction>` and `OwnedIndex<Transaction>`;
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tarantool-rs"
description = "Asyncronous tokio-based client for Tarantool"
version = "0.0.4"
version = "0.0.5"
edition = "2021"
authors = ["Andrey Kononov [email protected]"]
license = "MIT"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ If you have `clients` space with 2 "columns": `id` and `name`:

``` rust
let conn = Connection::builder().build("127.0.0.1:3301").await?;
let space = conn.get_space("clients").await?.expect("clients space exists");
space.insert(vec![1.into(), "John Doe".into()]).await?;
let clients = space.select::<(i64, String)>(None, None, Some(IteratorType::All), vec![]).await?;
let space = conn.space("clients").await?.expect("clients space exists");
space.insert((1, "John Doe")).await?;
let clients = space.select::<(i64, String), _>(None, None, Some(IteratorType::All), ()).await?;
```

For more examples of how to use this crate check `examples/` folder.
Expand Down

0 comments on commit 0bb6aea

Please sign in to comment.