libSQL API for Rust
This repository contains the libSQL API for Rust.
Installation
The library is available on crates.io. To use it in your application, add the following to the Cargo.toml
of your project:
[]
= "0.1.1"
Getting Started
Connecting to a database
use Database;
Creating a table
conn.execute.unwrap;
Inserting rows into a table
conn.execute.unwrap;
Querying rows from a table
let rows = conn.execute.unwrap.unwrap;
let row = rows.next.unwrap.unwrap;
println!;
Developing
See DEVELOPING.md for more information.
License
This project is licensed under the MIT license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in libSQL by you, shall be licensed as MIT, without any additional terms or conditions.