euphoxide/Cargo.toml
2025-02-23 22:35:55 +01:00

50 lines
1.3 KiB
TOML

[workspace]
resolver = "2"
members = ["euphoxide", "euphoxide-bot", "euphoxide-client"]
[workspace.package]
version = "0.6.0"
edition = "2021"
rust-version = "1.82"
[workspace.dependencies]
async-trait = "0.1.83"
caseless = "0.2.1"
clap = { version = "4.5.23", default-features = false, features = ["std"] }
cookie = "0.18.1"
futures-util = "0.3.31"
jiff = { version = "0.1.15", default-features = false, features = ["std"] }
log = "0.4.22"
serde = "1.0.215"
serde_json = "1.0.133"
tokio = "1.42.0"
tokio-tungstenite = "0.24.0"
unicode-normalization = "0.1.24"
# For examples
anyhow = "1.0.94"
rustls = "0.23.19"
# In this workspace
euphoxide = { path = "./euphoxide" }
euphoxide-bot = { path = "./euphoxide-bot" }
euphoxide-client = { path = "./euphoxide-client" }
[workspace.lints]
rust.unsafe_code = { level = "forbid", priority = 1 }
# Lint groups
rust.deprecated_safe = "warn"
rust.future_incompatible = "warn"
rust.keyword_idents = "warn"
rust.rust_2018_idioms = "warn"
rust.unused = "warn"
# Individual lints
rust.non_local_definitions = "warn"
rust.redundant_imports = "warn"
rust.redundant_lifetimes = "warn"
rust.single_use_lifetimes = "warn"
rust.unit_bindings = "warn"
rust.unnameable_types = "warn"
rust.unused_import_braces = "warn"
rust.unused_lifetimes = "warn"
rust.unused_qualifications = "warn"
# Clippy
clippy.use_self = "warn"