[package]
name = "rust_wheel"
version = "0.1.13"
edition = "2018"
license = "MIT"
authors = ["Jiangxiaoqiang <jiangtingqiang@gmail.com>"]
description = "A project to define some public component."
[dependencies]
rocket = { version = "=0.5.0", features = ["json"] }
schemars = "0.7"
rocket_okapi = { version = "0.8.0", features = ["swagger", "rapidoc"]}
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.150"
config = "0.15.23"
diesel = { version = "2.3.9", features = ["postgres"] }
chrono = "0.4"
dotenv = "0.15.0"
env_logger = "0.11.10"
log = "0.4"
num-traits = "0.2"
ring = "0.16.20"
md5 = "0.8.0"
gostd = "^0.3"
sha2 = "0.10.9"
rsa = "0.6.1"
data-encoding = "2.11.0"
reqwest = { version = "0.11", features = ["json"] }
redis = "1.2.1"
mobc = "0.8.5"
jsonwebtoken = "10.4.0"
base64 = "0.22.1"
actix-web = "4"
tokio = { version = "1.52.3", features = ["full"] }
futures = "0.3"
uuid = {version = "1.23.1",features = [
"v4",
"fast-rng",
"macro-diagnostics",
]}
urlencoding = "2.1.3"
form_urlencoded = "1.2.2"
rand = "0.8"
thiserror = "1.0.69"
hmac = "0.12"
hex = "0.4"
[features]
default = ["rwconfig", "model", "common", "texhub", "cruise", "alipay"]
rwconfig = []
model = []
common = []
texhub = []
cruise = []
alipay = []
full = [
"rwconfig",
"model",
"common",
"texhub"
]