Install
You need to have access to an rxqlite node. Instructions for installing rxqlite are available at https://github.com/HaHa421/rxqlite
Usage
A simple Cargo dependency would look like this :
[]
= { = "0.1" }
= { = "0.7" , = false, = ["macros", "runtime-tokio", "tls-none"] }
= { = "1", = [ "full" ] }
Assuming an rxqlite node listens at "127.0.0.1:21001", a simple app would proceed as follows:
use StreamExt;
use *;
use RXQLitePoolOptions;
//#[async_std::main] // Requires the `attributes` feature of `async-std`
// or #[actix_web::main]
async
Security
rxqlite supports tls insecure connections (accepting any certificate, including self-signed certificates).
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (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, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.