[package] name = "pravda" version = "0.1.3" edition = "2021" authors = ["@modulux@isonomia.net"] rust-version = "1.73" homepage = "https://modulus.isonomia.net/pravda.cgi/wiki/home" repository = "https://modulus.isonomia.net/pravda.cgi" license = "GPL-3.0" exclude = ["*.bak", "*.toml", "*-original", "_FOSSIL_", "target/"] description = "A bot to connect to a fediverse instance using the mastodon API and host social games." #publish = false keywords = ["bot", "mastodon", "fediverse", "ActivityPub", "simple"] categories = ["games"] [dependencies] tokio = { version = "1.32.0", default-features = false } futures-util = { default-features = false, version = "0.3" } nanohtml2text = "0.1.4" regex = { default-features = false, version = "1.10.0" } tokio-util = "0.7.9" mastodon-async = { version = "1.3.1", features = ["toml", "mt", "rustls-tls"], default-features = false } once_cell = "1.18.0" reqwest = { version = "0.11.22", default_features = false, features = ["rustls-tls"]} rand = "0.8.5" # The following lines are optimising for a small binary, given a bot spends most of its time idling in RAM. [profile.release] strip = true opt-level = "z" lto = true codegen-units = 1 panic = "abort"