SnowRustler is a Rust library designed to simplify interfacing with Snowflake, providing Rust developers with a robust set of tools to interact with Snowflake databases. This library enables executing SQL queries, managing connections, and handling responses with the efficiency and safety of Rust.
- Features
- Requirements
- Getting Started
- Quick Start
- API Reference
- Testing
- Contributing
- Versioning
- Authors
- License
- Contact
- Acknowledgments
- Changelog
- Execute SQL queries: SnowRustler allows you to execute SQL queries directly from your Rust code.
- Manage connections: It provides a simple and efficient way to manage your connections to Snowflake databases.
- Handle responses: It allows you to handle responses from Snowflake databases in a Rust-friendly way.
- Rust 1.54.0 or later
- Cargo 1.54.0 or later
- Access to a Snowflake database
- Install Rust and Cargo.
- Clone the SnowRustler repository.
- Run
cargo build
to build the project. - Run
cargo test
to run the tests.
use snowrustler::SnowRustler;
let sr = SnowRustler::new("your_snowflake_url", "your_username", "your_password");
let result = sr.execute_query("SELECT * FROM your_table");
println!("{:?}", result);
...
...
...
Paul Wade - Initial work - GitHub
This project is licensed under the MIT License - see the LICENSE file for details
Project Link: https://github.com/paul-wade/snow_rustler
This project wouldn't be possible without these wonderful resources:
- reqwest - For making HTTP requests in Rust.
- tokio - A runtime for writing reliable, asynchronous, and slim applications with the Rust programming language.
- serde - A framework for serializing and deserializing Rust data structures efficiently and generically.
- mockall - A powerful, flexible mocking library for Rust.
- serde_json - A JSON library for Rust, built with serde.
- httpmock - A library for mocking HTTP servers in Rust.