56635e0e1b
* init * bot framework done * here and ready for orm * might use sea-orm * orm done * use teloxide * ready to go? * 需要完成命令部分 * 需要完成:list_handler() * 查询用户名应当以@开头 * use rustls to avoid segfault? * postgresql ready * inline query done * list_handler * flattern code * test needed * ready to build * some bugs * almost done * ready to take off Co-authored-by: senset <dummy@dummy.d>
36 lines
768 B
TOML
36 lines
768 B
TOML
[package]
|
|
name = "saysthbot-reborn"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "A telegram bot to record someone's message by forwarding"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
wd_log = "0.1.5"
|
|
futures = "^0.3"
|
|
#lazy_static = "*"
|
|
strfmt = "^0.1.6"
|
|
|
|
[dependencies.clap]
|
|
version = "3.2.6"
|
|
features = ["derive", "env"]
|
|
|
|
[dependencies.tokio]
|
|
version = "^1.0"
|
|
features = ["full"]
|
|
|
|
[dependencies.teloxide]
|
|
version = "^0.9"
|
|
features = ["macros"]
|
|
|
|
[dependencies.sea-orm]
|
|
version = "^0.8.0"
|
|
features = ["macros", "sqlx-mysql", "sqlx-sqlite", "sqlx-postgres", "runtime-tokio-rustls"]
|
|
|
|
[dependencies.models]
|
|
path = "entity"
|
|
|
|
[dependencies.migration]
|
|
path = "migration" |