Crates.io | safety-postgres |
lib.rs | safety-postgres |
version | 0.1.0 |
source | src |
created_at | 2024-03-24 15:25:04.165234 |
updated_at | 2024-03-24 15:25:04.165234 |
description | Wrapper of tokio-postgres for executing SQL more safer out of user jurisdiction. |
homepage | https://crates.io/crates/safety-postgres |
repository | https://github.com/SHIMA0111/safety-postgres |
max_upload_size | |
id | 1184481 |
size | 126,062 |
[!NOTE] This project is under the development for releasing an initial library crate!
This library is for safety use of the PostgreSQL via Rust.
Generally speaking, we need to take care the SQL injection when executing SQL statement.
Almost all libraries has the protect mechanism like the parameter query.
However, a developer needs to take care for more mechanisms validating the input values and so.
By using this library crate, you can execute SQLs more safety.
This library validates input values and generates parameterized SQL statement dynamically fitting to your input.
Of course, it is important that you pay attention for the risks. However, this library helps your application makes more safety!
tokio = "1"
tokio-postgres = "0.7"
with with-chrono-0_4
feature
chrono = "0.4"
serde = "1"
with derive
featureserde_json = "0.4"
This project is licensed under the MIT License