Initial
This commit is contained in:
commit
3ab9f14ce6
12 changed files with 2512 additions and 0 deletions
24
Cargo.toml
Normal file
24
Cargo.toml
Normal file
|
@ -0,0 +1,24 @@
|
|||
[package]
|
||||
name = "oiseau"
|
||||
description = "Super simple SQL helper"
|
||||
authors = ["trisuaso <me@trisua.com>"]
|
||||
license = "AGPL-3.0-or-later"
|
||||
homepage = "https://bugs.tetratto.com/trisua/tetratto"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[features]
|
||||
postgres = ["dep:tokio-postgres", "dep:bb8-postgres"]
|
||||
sqlite = ["dep:rusqlite"]
|
||||
redis = ["dep:redis"]
|
||||
default = ["sqlite", "redis"]
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
rusqlite = { version = "0.36.0", optional = true }
|
||||
tokio-postgres = { version = "0.7.13", optional = true }
|
||||
bb8-postgres = { version = "0.9.0", optional = true }
|
||||
redis = { version = "0.31.0", features = [
|
||||
"aio",
|
||||
"tokio-comp",
|
||||
], optional = true }
|
Loading…
Add table
Add a link
Reference in a new issue