Skip to content

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.

License

paul-wade/snow-rustler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SnowRustler

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.

Table of Contents

Features

  • 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.

Requirements

  • Rust 1.54.0 or later
  • Cargo 1.54.0 or later
  • Access to a Snowflake database

Getting Started

  1. Install Rust and Cargo.
  2. Clone the SnowRustler repository.
  3. Run cargo build to build the project.
  4. Run cargo test to run the tests.

Quick Start

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);

API Reference

Testing

...

Contributing

...

Versioning

...

Authors

Paul Wade - Initial work - GitHub

License

This project is licensed under the MIT License - see the LICENSE file for details

Contact

Project Link: https://github.com/paul-wade/snow_rustler

Acknowledgments

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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages