-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
35 lines (31 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "haro"
version = "0.3.0"
edition = "2021"
description = "A simple and synchronous web framework written in and for Rust"
license = "MIT OR Apache-2.0"
repository = "https://github.com/shellfly/haro/"
keywords = ["http", "web", "framework"]
categories = ["network-programming", "web-programming::http-server"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
env_logger = "0.9.0"
log = "0.4"
regex = "1.5"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
http = "0.2.8"
cookie = "0.17.0"
once_cell = "1.17.0"
r2d2 = {version = "0.8.10", optional = true }
r2d2_postgres = { version = "0.18.1", optional = true }
r2d2_mysql = { version = "23.0.0", optional = true }
r2d2_sqlite = { version = "0.21.0", optional = true }
mysql = { version = "23.0.1", optional = true }
rusqlite = { version = "0.28.0", optional = true }
tera = { version = "1", optional = true}
[features]
default = []
full = ["template", "database"]
template = ["dep:tera"]
database = ["dep:mysql", "dep:rusqlite", "dep:r2d2", "dep:r2d2_postgres", "dep:r2d2_mysql", "dep:r2d2_sqlite"]