# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "url-cleaner-site" version = "0.6.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A basic HTTP server and userscript to make using URL Cleaner in a browser easier." readme = "README.md" keywords = [ "url", "url-tracking", "privacy", "url-cleaner", ] categories = [] license = "AGPL-3.0-or-later" repository = "https://github.com/Scripter17/url-cleaner-site" [lib] name = "url_cleaner_site" path = "src/lib.rs" [[bin]] name = "url-cleaner-site" path = "src/main.rs" [dependencies.clap] version = "4.5.21" [dependencies.rocket] version = "0.5.1" features = ["json"] [dependencies.serde] version = "1.0.215" [dependencies.serde_json] version = "1.0.133" [dependencies.tokio] version = "1.41.1" features = [ "macros", "rt", ] [dependencies.url] version = "2.5.4" features = ["serde"] [dependencies.url-cleaner] version = "0.6.2" default-features = false [features] advanced-http = ["url-cleaner/advanced-http"] base64 = ["url-cleaner/base64"] cache = ["url-cleaner/cache"] cache-redirects = ["url-cleaner/cache-redirects"] commands = ["url-cleaner/commands"] custom = ["url-cleaner/custom"] debug = ["url-cleaner/debug"] debug-time = ["url-cleaner/debug-time"] default = [ "default-config", "minify-included-strings", "regex", "glob", "commands", "http", "advanced-http", "base64", "cache", "cache-redirects", ] default-config = ["url-cleaner/default-config"] glob = ["url-cleaner/glob"] http = ["url-cleaner/http"] minify-included-strings = ["url-cleaner/minify-included-strings"] regex = ["url-cleaner/regex"] [lints.clippy] allow_attributes_without_reason = "warn" arithmetic_side_effects = "warn" cargo_common_metadata = "warn" dbg_macro = "warn" enum_variant_names = "allow" indexing_slicing = "deny" match_like_matches_macro = "allow" missing_docs_in_private_items = "warn" missing_errors_doc = "deny" missing_panics_doc = "deny" missing_safety_doc = "deny" module_inception = "allow" todo = "warn" unit_arg = "allow" unwrap_used = "deny" [lints.clippy.perf] level = "warn" priority = -1 [lints.rust] missing_debug_implementations = "deny" missing_docs = "warn" unsafe_code = "forbid" unused_import_braces = "warn"