25 lines
706 B
TOML
25 lines
706 B
TOML
|
|
[package]
|
||
|
|
name = "dicebot"
|
||
|
|
version = "0.1.0"
|
||
|
|
edition = "2021"
|
||
|
|
description = "Matrix dice-rolling bot built on headjack (matrix-rust-sdk + vodozemac)"
|
||
|
|
license = "AGPL-3.0-or-later"
|
||
|
|
|
||
|
|
[dependencies]
|
||
|
|
headjack = "0.5"
|
||
|
|
# matrix-sdk must match the version headjack re-exports (0.7).
|
||
|
|
# headjack pins matrix-sdk 0.7 with default features (including native-tls);
|
||
|
|
# we match so cargo doesn't complain about conflicting tls features.
|
||
|
|
matrix-sdk = "0.7"
|
||
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync"] }
|
||
|
|
anyhow = "1"
|
||
|
|
rand = "0.8"
|
||
|
|
thiserror = "1"
|
||
|
|
tracing = "0.1"
|
||
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||
|
|
|
||
|
|
[profile.release]
|
||
|
|
lto = "thin"
|
||
|
|
codegen-units = 1
|
||
|
|
strip = true
|