initial commit

This commit is contained in:
Ellie 2026-04-19 22:06:01 -07:00
commit 86e4751dcc
7 changed files with 5007 additions and 0 deletions

24
Cargo.toml Normal file
View file

@ -0,0 +1,24 @@
[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