1 unstable release
0.0.0 | Jun 17, 2020 |
---|
12KB
196 lines
Fudge is an Object-Relational Mapping crate for the Rust environment
Installation
This crate is a library, as such it can be installed by adding the following to your Cargo.toml
[dependancies]
fudge = "*"
Once you have done that, you can use the library in your project by adding
use fudge::Fudge;
Usage
You can read full documentation here or alternatively, read basic docs blow.
Connecting to the database:
let database = Fudge::new("username", "password", "database", "host", 3306 /* port: default is 3306 for MySql*/);
Querying the database:
let result = database.query_raw("SOME SQL QUERY")?;
due to the current status of Fudge, there is no:
-
SQL query compiler,
-
no query optimization,
-
no query construction utils
-
no dynamic query routing
-
SQL Injection
-
Cartesian Explosions
Changelog:
Version 0.0.0 -> 0.0.1
Feature | Status | Issue | Comment |
---|---|---|---|
Fudge (struct) | Created | N/A | This is the struct around which the module rotates |
FudgeOptions (struct) | Created | N/A | Used internally for structs::Fudge |
Dependencies
~16–28MB
~446K SLoC