Something went wrong. Try again.
Personal ATProto tools.
Something went wrong. Try again.
atproto_teq Cargo.toml
6.3 kB · 164 lines
TOML
at main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165[package]name = "atproto_teq"version = "0.1.0"edition = "2024"publish = falseauthors = ["Timothy Quilling <teqed@shatteredsky.net>"]exclude = ["dist", "build", "assets", "credits"]description = "My ATProtocol applications and tools."license = "MIT"readme = "README.md"repository = "~/_/Repos/atproto"keywords = ["bluesky", "atproto"]categories = ["bluesky", "atproto"]
[profile.dev.package."*"]opt-level = 3
[profile.dev]opt-level = 1
[profile.release]opt-level = "s" # Slightly slows compile times, great improvements to file size and runtime performance.lto = "thin" # Do a second optimization pass over the entire program, including dependencies.codegen-units = 1 # Compile the entire crate as one unit.strip = "debuginfo" # Strip all debugging information from the binary to slightly reduce file size.
[features]dev = []
[build-dependencies]embed-resource = "1"
[lints.rust]## Groupswarnings = { level = "warn", priority = -1 } # All lints that are set to issue warningsdeprecated-safe = { level = "warn", priority = -1 } # Lints for functions which were erroneously marked as safe in the pastfuture-incompatible = { level = "warn", priority = -1 } # Lints that detect code that has future-compatibility problemskeyword-idents = { level = "warn", priority = -1 } # Lints that detect identifiers which will be come keywords in later editionslet-underscore = { level = "warn", priority = -1 } # Lints that detect wildcard let bindings that are likely to be invalidnonstandard-style = { level = "warn", priority = -1 } # Violation of standard naming conventionsrefining-impl-trait = { level = "warn", priority = -1 } # Detects refinement of impl Trait return types by trait implementationsrust-2018-compatibility = { level = "warn", priority = -1 } # Lints used to transition code from the 2015 edition to 2018rust-2021-compatibility = { level = "warn", priority = -1 } # Lints used to transition code from the 2018 edition to 2021rust-2018-idioms = { level = "warn", priority = -1 } # Lints to nudge you toward idiomatic features of Rust 2018rust-2024-compatibility = { level = "warn", priority = -1 } # Lints used to transition code from the 2021 edition to 2024unused = { level = "warn", priority = -1 } # Lints that detect things being declared but not used, or excess syntax## Individualambiguous_negative_literals = "warn" # checks for cases that are confusing between a negative literal and a negation that's not part of the literal.closure_returning_async_block = "warn" # detects cases where users write a closure that returns an async block. # nightlyffi_unwind_calls = "warn"# fuzzy_provenance_casts = "warn" # unstable# lossy_provenance_casts = "warn" # unstablemacro_use_extern_crate = "warn"meta_variable_misuse = "warn"missing_abi = "warn"missing_copy_implementations = "allow" # detects potentially-forgotten implementations of Copy for public types.missing_debug_implementations = "allow" # detects missing implementations of fmt::Debug for public types.missing_docs = "warn"# multiple_supertrait_upcastable = "warn" # unstable# must_not_suspend = "warn" # unstablenon_ascii_idents = "warn"# non_exhaustive_omitted_patterns = "warn" # unstableredundant_imports = "warn"redundant_lifetimes = "warn"rust_2024_incompatible_pat = "warn" # nightlysingle_use_lifetimes = "warn"trivial_casts = "warn"trivial_numeric_casts = "warn"unit_bindings = "warn"unnameable_types = "warn"# unqualified_local_imports = "warn" # unstableunreachable_pub = "warn"unsafe_code = "forbid"unstable_features = "warn"# unused_crate_dependencies = "warn"unused_import_braces = "warn"unused_lifetimes = "warn"unused_qualifications = "warn"unused_results = "warn"variant_size_differences = "warn"elided_lifetimes_in_paths = "allow"# unstable-features = "allow"
[lints.clippy]# Groupsnursery = { level = "warn", priority = -1 }correctness = { level = "warn", priority = -1 }suspicious = { level = "warn", priority = -1 }complexity = { level = "warn", priority = -1 }perf = { level = "warn", priority = -1 }style = { level = "warn", priority = -1 }# pedantic = { level = "warn", priority = -1 }# restriction = { level = "warn", priority = -1 }cargo = { level = "warn", priority = -1 }# Temporary Allowssingle_call_fn = "allow"multiple_crate_versions = "allow"expect_used = "allow"# Style Allowsimplicit_return = "allow"self_named_module_files = "allow"else_if_without_else = "allow"std_instead_of_alloc = "allow"std_instead_of_core = "allow"blanket_clippy_restriction_lints = "allow"float_arithmetic = "allow"redundant_pub_crate = "allow"pub_with_shorthand = "allow"absolute_paths = "allow"module_name_repetitions = "allow"missing_trait_methods = "allow"separated_literal_suffix = "allow"exhaustive_structs = "allow"field_scoped_visibility_modifiers = "allow"allow_attributes_without_reason = "allow"# Warnsmissing_docs_in_private_items = "warn"use_self = "warn"str_to_string = "warn"print_stdout = "warn"unseparated_literal_suffix = "warn"unwrap_used = "warn"# Denysenum_glob_use = "deny"# expect_used = "deny"
[dependencies]atrium-api = { version = "0.24.10", default-features = false, features = [ "namespace-appbsky",] }axum = {version = "0.8.1", features = ["ws"]}axum-extra = {version = "0.10.0", features = ["typed-header"]}base64 = "0.22.1"bs58 = "0.5.1"bytes = "1.10.0"chrono = "0.4.39"# derive_more = "2.0.1"dotenvy = "0.15.7"futures = "0.3.31"headers = "0.4.0"hex = "0.4.3"hmac = "0.12.1"http = "1.2.0"jetstream-oxide = "0.1.1"num = "0.4.3"num-derive = "0.4.2"num-traits = "0.2.19"rand = "0.9.0"rand_core = { version = "0.6.4" }# nutype = "0.6.0"reqwest = { version = "0.12.12", features = ["json"] }secp256k1 = { version = "0.30.0", features = ["hashes", "rand", "serde"] }serde = { version = "1.0.217", features = ["derive"] }serde_bytes = "0.11.15"serde_cbor = "0.11.2"serde_json = "1.0.138"sha2 = "0.10.8"sqlx = { version = "0.8.3", features= ["chrono", "json", "macros", "sqlite", "runtime-tokio", "tls-rustls-ring-native-roots"] }tokio = { version = "1.43.0", features = ["full"] }tower-http = {version = "0.6.2", features = ["compression-full", "decompression-deflate", "fs", "trace"]}tracing = "0.1"tracing-subscriber = { version = "0.3", features = ["env-filter"] }