[package] name = "bluepds" version = "0.0.0" edition = "2024" publish = false authors = ["Justin Moore", "Timothy Quilling "] description = "Alternative ATProto PDS implementation" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/DrChat/bluepds" keywords = ["atproto", "pds"] categories = [] [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. [lints.rust] ## Groups warnings = { level = "warn", priority = -1 } # All lints that are set to issue warnings deprecated-safe = { level = "warn", priority = -1 } # Lints for functions which were erroneously marked as safe in the past future-incompatible = { level = "warn", priority = -1 } # Lints that detect code that has future-compatibility problems keyword-idents = { level = "warn", priority = -1 } # Lints that detect identifiers which will be come keywords in later editions let-underscore = { level = "warn", priority = -1 } # Lints that detect wildcard let bindings that are likely to be invalid nonstandard-style = { level = "warn", priority = -1 } # Violation of standard naming conventions refining-impl-trait = { level = "warn", priority = -1 } # Detects refinement of impl Trait return types by trait implementations rust-2018-compatibility = { level = "warn", priority = -1 } # Lints used to transition code from the 2015 edition to 2018 rust-2021-compatibility = { level = "warn", priority = -1 } # Lints used to transition code from the 2018 edition to 2021 rust-2018-idioms = { level = "warn", priority = -1 } # Lints to nudge you toward idiomatic features of Rust 2018 rust-2024-compatibility = { level = "warn", priority = -1 } # Lints used to transition code from the 2021 edition to 2024 unused = { level = "warn", priority = -1 } # Lints that detect things being declared but not used, or excess syntax ## Individual ambiguous_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. # nightly ffi_unwind_calls = "warn" # fuzzy_provenance_casts = "warn" # unstable # lossy_provenance_casts = "warn" # unstable macro_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" # unstable non_ascii_idents = "warn" # non_exhaustive_omitted_patterns = "warn" # unstable redundant_imports = "warn" redundant_lifetimes = "warn" rust_2024_incompatible_pat = "warn" # nightly single_use_lifetimes = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unit_bindings = "warn" unnameable_types = "warn" # unqualified_local_imports = "warn" # unstable unreachable_pub = "warn" unsafe_code = "warn" 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] # Groups nursery = { 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 Allows multiple_crate_versions = "allow" # triggered by lib expect_used = "allow" missing_docs_in_private_items = "allow" # # Temporary Allows - Restriction min_ident_chars = "allow" # 50 instances # arbitrary_source_item_ordering = "allow" renamed_function_params = "allow" # possibly triggered by lib # pattern_type_mismatch = "allow" # Style Allows implicit_return = "allow" self_named_module_files = "allow" # Choose one of self_named_module_files or mod_module_files mod_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" tests_outside_test_module = "allow" ref_patterns = "allow" question_mark_used = "allow" shadow_reuse = "allow" single_call_fn = "allow" # Warns use_self = "warn" str_to_string = "warn" print_stdout = "warn" unseparated_literal_suffix = "warn" unwrap_used = "warn" # Denys enum_glob_use = "deny" # expect_used = "deny" [dependencies] atrium-api = "0.25" atrium-crypto = "0.1" atrium-repo = "0.1" atrium-xrpc = "0.12" atrium-xrpc-client = "0.5" anyhow = "1.0.96" argon2 = { version = "0.5.3", features = ["std"] } axum = { version = "0.8.1", features = [ "tower-log", "form", "macros", "ws", "json", ] } azure_core = "0.22.0" azure_identity = "0.22.0" base32 = "0.5.1" base64 = "0.22.1" chrono = "0.4.39" clap = { version = "4.5.30", features = ["derive"] } clap-verbosity-flag = "3.0.2" constcat = "0.6.0" figment = { version = "0.10.19", features = ["toml", "env"] } futures = "0.3.31" http-cache-reqwest = { version = "0.15.1", default-features = false, features = [ "manager-moka", ] } memmap2 = "0.9.5" metrics = "0.24.1" metrics-exporter-prometheus = "0.16.2" rand = "0.8.5" reqwest = { version = "0.12.12", features = ["json"] } reqwest-middleware = { version = "0.4.0", features = ["json"] } serde = { version = "1.0.218", features = ["derive"] } serde_ipld_dagcbor = { version = "0.6.2", default-features = false, features = ["std"] } serde_json = "1.0.139" sha2 = "0.10.8" sqlx = { version = "0.8.3", features = ["json", "runtime-tokio", "sqlite"] } thiserror = "2.0.11" tokio = { version = "1.43.0", features = ["macros", "rt-multi-thread"] } tokio-util = { version = "0.7.13", features = ["io"] } tower-http = { version = "0.6.2", features = ["cors", "fs", "trace"] } tracing = "0.1.41" tracing-subscriber = "0.3.19" url = "2.5.4" uuid = { version = "1.14.0", features = ["v4"] } urlencoding = "2.1.3" async-trait = "0.1.88" k256 = "0.13.4" hex = "0.4.3" ipld-core = "0.4.2" lazy_static = "1.5.0" regex = "1.11.1" rsky-syntax = { git = "https://github.com/blacksky-algorithms/rsky.git" } rsky-repo = { git = "https://github.com/blacksky-algorithms/rsky.git" } serde_bytes = "0.11.17" multihash = "0.19.3" serde_ipld_dagjson = "0.2.0"