1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 12:04:20 +00:00
royalnet/Cargo.toml

131 lines
2.1 KiB
TOML
Raw Normal View History

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-18 15:11:51 +00:00
version = "0.6.0"
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"
default-features = false
features = ["postgres", "chrono", "with-deprecated"]
2024-07-17 12:01:53 +00:00
optional = true
[dependencies.diesel_migrations]
version = "2.2.0"
optional = true
2024-07-17 12:01:53 +00:00
[dependencies.teloxide]
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 = [
"diesel",
"diesel_migrations",
2024-07-17 12:01:53 +00:00
]
interface_stratz = [
"graphql_client"
]
service_telegram = [
"interface_database",
"teloxide",
"rand",
"parse_datetime",
2024-07-17 12:01:53 +00:00
]
service_brooch = [
"interface_database",
"interface_stratz",
"graphql_client"
]
#============#
[[bin]]
name = "royalnet"