<commit_before># RethinkDB Driver

This is a [RethinkDB] driver written in [Rust].

[RethinkDB]: https://www.rethinkdb.com
[Rust]: https://www.rust-lang.org

[![Build Status](https://travis-ci.org/rust-rethinkdb/reql.svg?branch=master)](https://travis-ci.org/rust-rethinkdb/reql) [![Build status](https://ci.appveyor.com/api/projects/status/cp8tmb9xxjw0kfgj?svg=true)](https://ci.appveyor.com/project/rushmorem/reql) [![Latest Version](https://img.shields.io/crates/v/reql.svg)](https://crates.io/crates/reql) [![Docs](https://docs.rs/reql/badge.svg)](https://docs.rs/reql/*/reql/struct.Client.html)

*Note:* While this driver is already usable in the current state, the API is not yet stable and many commands are not yet implemented. I recommend you pin to specific versions if you have to code against it. Also kindly submit an issue or pull request if the command you want is missing.

## Getting Started

Add this crate to your dependencies section:-

```toml
[dependencies]
reql = "0.0.6-alpha8"
```

Import it in your `main.rs` or `lib.rs`:-

```rust
#[macro_use] extern crate reql;
```

Run ReQL commands:-

```rust
#[macro_use] extern crate reql;

use reql::Client;

fn main() {
    // Create a new ReQL client
    let r = Client::new();
    // Run a command
    let _heroes = r.db("heroes").table(args!("marvel", {read_mode: "outdated"}));
}
```

## License

Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you shall be dual licensed as above, without any
additional terms or conditions.<commit_msg>Add a note about versions<commit_after># RethinkDB Driver

This is a [RethinkDB] driver written in [Rust].

[RethinkDB]: https://www.rethinkdb.com
[Rust]: https://www.rust-lang.org

[![Build Status](https://travis-ci.org/rust-rethinkdb/reql.svg?branch=master)](https://travis-ci.org/rust-rethinkdb/reql) [![Build status](https://ci.appveyor.com/api/projects/status/cp8tmb9xxjw0kfgj?svg=true)](https://ci.appveyor.com/project/rushmorem/reql) [![Latest Version](https://img.shields.io/crates/v/reql.svg)](https://crates.io/crates/reql) [![Docs](https://docs.rs/reql/badge.svg)](https://docs.rs/reql/*/reql/struct.Client.html)

*Note:* At the moment, version `0.0.5` is the only usable version of this driver (version `0.0.6` hasn't been released yet). However, it only has a few commands implemented and the API has since changed. Version `0.0.6` will have all the ReQL commands implemented. It's going to be released sometime in April.

## Getting Started

Add this crate to your dependencies section:-

```toml
[dependencies]
reql = { git = "https://github.com/rust-rethinkdb/reql" }
```

Import it in your `main.rs` or `lib.rs`:-

```rust
#[macro_use] extern crate reql;
```

Run ReQL commands:-

```rust
#[macro_use] extern crate reql;

use reql::Client;

fn main() {
    // Create a new ReQL client
    let r = Client::new();
    // Create a connection pool to your servers
    let conn = r.connect(args!({servers: ["localhost"], db: "blog"})).unwrap();
    // Run your ReQL commands
    let heroes = r.table("posts").get_all(args!("review", {index: "category"})).run(&conn).unwrap();
}
```

## License

Licensed under either of
* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you shall be dual licensed as above, without any
additional terms or conditions.
{'fraction_non_alphanumeric': 0.15400516795865632, 'fraction_numerical': 0.0069767441860465115, 'mean_word_length': 4.490780141843971, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 21, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1577267', 'n_tokens_mistral': 1315, 'n_tokens_neox': 1282, 'n_words': 370}