2024-07-04 01:15:39 +00:00
|
|
|
[package]
|
|
|
|
name = "royalnet"
|
2024-07-12 03:05:45 +00:00
|
|
|
description = "Fun software suite for the RYG community"
|
2024-08-19 08:08:34 +00:00
|
|
|
version = "0.6.1"
|
2024-07-04 01:15:39 +00:00
|
|
|
edition = "2021"
|
2024-07-12 03:03:17 +00:00
|
|
|
authors = [
|
|
|
|
"Stefano Pigozzi <me@steffo.eu>"
|
|
|
|
]
|
2024-07-12 03:07:10 +00:00
|
|
|
repository = "https://github.com/RYGhub/royalnet"
|
2024-07-12 03:03:31 +00:00
|
|
|
rust-version = "1.71.0"
|
2024-07-12 03:06:22 +00:00
|
|
|
readme = "README.md"
|
2024-07-12 03:07:31 +00:00
|
|
|
license = "EUPL-1.2"
|
2024-07-12 03:08:30 +00:00
|
|
|
keywords = [
|
|
|
|
"bot",
|
|
|
|
"telegram",
|
|
|
|
"ryg",
|
|
|
|
"gaming",
|
|
|
|
"fun"
|
|
|
|
]
|
2024-07-12 03:10:21 +00:00
|
|
|
categories = [
|
|
|
|
"games",
|
|
|
|
]
|
2024-07-12 03:12:43 +00:00
|
|
|
exclude = [
|
|
|
|
"/.idea",
|
|
|
|
"/.media",
|
|
|
|
"/.env"
|
|
|
|
]
|
2024-07-04 01:15:39 +00:00
|
|
|
|
2024-07-17 12:01:53 +00:00
|
|
|
#============#
|
|
|
|
|
2024-07-04 01:15:39 +00:00
|
|
|
[dependencies]
|
2024-07-17 12:01:53 +00:00
|
|
|
|
|
|
|
[dependencies.anyhow]
|
|
|
|
version = "1.0.86"
|
|
|
|
|
|
|
|
[dependencies.thiserror]
|
|
|
|
version = "1.0.62"
|
|
|
|
|
|
|
|
[dependencies.tokio]
|
|
|
|
version = "1.38.0"
|
|
|
|
features = ["macros", "rt-multi-thread", "time"]
|
|
|
|
|
|
|
|
[dependencies.log]
|
|
|
|
version = "0.4.22"
|
|
|
|
features = ["release_max_level_debug"]
|
|
|
|
|
|
|
|
[dependencies.pretty_env_logger]
|
|
|
|
version = "0.5.0"
|
|
|
|
|
|
|
|
[dependencies.micronfig]
|
|
|
|
version = "0.3.0"
|
|
|
|
|
|
|
|
[dependencies.once_cell]
|
|
|
|
version = "1.19.0"
|
|
|
|
|
|
|
|
[dependencies.regex]
|
|
|
|
version = "1.10.5"
|
|
|
|
|
|
|
|
[dependencies.reqwest]
|
|
|
|
version = "0.12.5"
|
|
|
|
features = ["json"]
|
|
|
|
|
|
|
|
[dependencies.serde]
|
|
|
|
version = "1.0.204"
|
|
|
|
features = ["derive"]
|
|
|
|
|
|
|
|
[dependencies.diesel]
|
|
|
|
version = "2.2.1"
|
2024-08-18 15:11:04 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["postgres", "chrono", "with-deprecated"]
|
2024-07-17 12:01:53 +00:00
|
|
|
optional = true
|
|
|
|
|
2024-08-05 13:50:24 +00:00
|
|
|
[dependencies.diesel_migrations]
|
|
|
|
version = "2.2.0"
|
|
|
|
optional = true
|
|
|
|
|
2024-07-17 12:01:53 +00:00
|
|
|
[dependencies.teloxide]
|
2024-08-18 15:11:04 +00:00
|
|
|
version = "0.13.0"
|
2024-07-17 12:01:53 +00:00
|
|
|
default-features = false
|
|
|
|
features = ["native-tls", "macros"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.rand]
|
|
|
|
version = "0.8.5"
|
|
|
|
features = ["small_rng"]
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.chrono]
|
|
|
|
version = "0.4.38"
|
|
|
|
|
|
|
|
[dependencies.parse_datetime]
|
|
|
|
version = "0.6.0"
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.graphql_client]
|
|
|
|
version = "0.14.0"
|
|
|
|
optional = true
|
|
|
|
|
|
|
|
#============#
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = [
|
|
|
|
"interface_database",
|
|
|
|
"interface_stratz",
|
|
|
|
"service_brooch",
|
|
|
|
"service_telegram",
|
|
|
|
]
|
|
|
|
interface_database = [
|
2024-08-05 13:50:24 +00:00
|
|
|
"diesel",
|
|
|
|
"diesel_migrations",
|
2024-07-17 12:01:53 +00:00
|
|
|
]
|
|
|
|
interface_stratz = [
|
|
|
|
"graphql_client"
|
|
|
|
]
|
|
|
|
service_telegram = [
|
|
|
|
"interface_database",
|
|
|
|
"teloxide",
|
|
|
|
"rand",
|
2024-08-07 22:36:39 +00:00
|
|
|
"parse_datetime",
|
2024-07-17 12:01:53 +00:00
|
|
|
]
|
|
|
|
service_brooch = [
|
|
|
|
"interface_database",
|
|
|
|
"interface_stratz",
|
2024-08-19 08:02:36 +00:00
|
|
|
"teloxide",
|
2024-07-17 12:01:53 +00:00
|
|
|
"graphql_client"
|
|
|
|
]
|
|
|
|
|
|
|
|
#============#
|
2024-07-12 03:00:16 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "royalnet"
|