save users to sqlite

This commit is contained in:
Aleksandr Trushkin
2022-05-26 12:19:47 +03:00
parent d83af3e6cd
commit 473953fc9c
11 changed files with 1528 additions and 468 deletions

View File

@ -7,14 +7,21 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
teloxide = "0.3"
teloxide-macros = "0.3"
tokio = {version = "0.2.23", features = ["full"]}
reqwest = "0.10.8"
serde = "1.0.117"
serde_json = "1.0.59"
teloxide = { version = "0.9.0", features = ["macros", "auto-send"] }
tokio = {version = "1.8", features = ["full"]}
uuid = { version = "0.8.1", features = ["v4"] }
log = "0.4"
env_logger = "0.8.1"
envconfig = "0.9.1"
openssl = {version="*", features = ["vendored"]}
serde = "1.0.137"
reqwest = { version = "0.11.10", features = ["tokio-native-tls"] }
serde_json = "1.0.81"
sqlx = { version = "0.5.13", features = ["sqlite", "runtime-tokio-native-tls", "chrono", "migrate"] }
chrono = "0.4.19"
anyhow = "1.0.57"
async-trait = "0.1.53"
tokio-stream = "0.1.8"
rand = "0.8.5"
[profile.dev.package.sqlx-macros]
opt-level = 3