telepingbot/Cargo.toml
Awiteb 9093d338f4
chore(deps): Add base64 to dependencies
Signed-off-by: Awiteb <a@4rs.nl>
2024-06-05 18:30:51 +03:00

81 lines
2.3 KiB
TOML

[package]
authors = ["Awiteb <a@4rs.nl>"]
description = "Simple API to ping a telegram bot using superbot (mtproto)"
edition = "2021"
license = "AGPL-3.0-or-later"
name = "telepingbot"
readme = "README.md"
repository = "https://git.4rs.nl/awiteb/telepingbot"
rust-version = "1.75.0"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
base64 = "0.22.1"
chrono = "0.4.38"
grammers-client = "0.6.0"
grammers-session = "0.5.2"
log = "0.4.21"
onlyerror = "0.1.4"
pretty_env_logger = "0.5.0"
promptly = "0.3.1"
salvo = {version = "0.67.2", features = ["logging", "affix", "rustls"]}
serde = {version = "1.0.202", features = ["derive"]}
serde_json = "1.0.117"
sha256 = "1.5.0"
tokio = {version = "1.37.0", features = ["macros", "rt-multi-thread", "signal"]}
toml = { version = "0.8.13", default-features = false, features = ["parse"] }
[lints.rust]
unsafe_code = "forbid"
missing_docs = "warn"
[lints.clippy]
# I know is huge, but I like to be explicit, it also provides
# a better DX for new contributors (Make it easier to understand the codebase).
# Also, this is a general linting configuration, it's not specific to this project.
wildcard_imports = "deny"
manual_let_else = "deny"
match_bool = "deny"
match_on_vec_items = "deny"
or_fun_call = "deny"
panic = "deny"
unwrap_used = "deny"
missing_assert_message = "warn"
missing_const_for_fn = "warn"
missing_errors_doc = "warn"
absolute_paths = "warn"
cast_lossless = "warn"
clone_on_ref_ptr = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "warn"
default_trait_access = "warn"
empty_enum_variants_with_brackets = "warn"
empty_line_after_doc_comments = "warn"
empty_line_after_outer_attr = "warn"
empty_structs_with_brackets = "warn"
enum_glob_use = "warn"
equatable_if_let = "warn"
explicit_iter_loop = "warn"
filetype_is_file = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
float_cmp = "warn"
format_push_string = "warn"
future_not_send = "warn"
if_not_else = "warn"
if_then_some_else_none = "warn"
implicit_clone = "warn"
inconsistent_struct_constructor = "warn"
indexing_slicing = "warn"
iter_filter_is_ok = "warn"
iter_filter_is_some = "warn"
iter_not_returning_iterator = "warn"
manual_is_variant_and = "warn"
option_if_let_else = "warn"
option_option = "warn"
[profile.release]
strip = true # Automatically strip symbols from the binary.