# 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" version = "0.6.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A CLI tool and library for URL manipulation with a focus on stripping tracking garbage." readme = "README.md" keywords = [ "url", "url-tracking", "privacy", ] categories = ["command-line-utilities"] license = "AGPL-3.0-or-later" repository = "https://github.com/Scripter17/url-cleaner" [profile.release] opt-level = 3 lto = true codegen-units = 1 panic = "abort" strip = true [lib] name = "url_cleaner" path = "src/lib.rs" [[bin]] name = "url-cleaner" path = "src/main.rs" [dependencies.base64] version = "0.22.1" optional = true [dependencies.clap] version = "4.5.21" features = [ "derive", "unstable-v5", ] [dependencies.const-str] version = "0.5.7" optional = true [dependencies.diesel] version = "2.2.5" features = [ "sqlite", "returning_clauses_for_sqlite_3_35", ] optional = true [dependencies.form_urlencoded] version = "1.2.1" [dependencies.glob] version = "0.3.1" optional = true [dependencies.percent-encoding] version = "2.3.1" [dependencies.psl] version = "2.1.60" [dependencies.regex] version = "1.11.1" optional = true [dependencies.regex-syntax] version = "0.8.5" optional = true [dependencies.reqwest] version = "0.12.9" features = [ "blocking", "socks", ] optional = true [dependencies.serde] version = "1.0.215" features = ["derive"] [dependencies.serde_json] version = "1.0.133" [dependencies.thiserror] version = "2.0.3" [dependencies.url] version = "2.5.4" features = ["serde"] [dependencies.which] version = "7.0.0" optional = true [features] advanced-http = [ "http", "reqwest/json", "reqwest/cookies", ] base64 = ["dep:base64"] cache = ["dep:diesel"] cache-redirects = ["cache"] commands = ["dep:which"] custom = [] debug = [] debug-time = [] default = [ "default-config", "minify-included-strings", "regex", "glob", "commands", "http", "advanced-http", "base64", "cache-redirects", ] default-config = [] glob = ["dep:glob"] http = ["dep:reqwest"] minify-included-strings = ["dep:const-str"] regex = [ "dep:regex", "dep:regex-syntax", ] [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_const_for_fn = "warn" 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"