# 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" rust-version = "1.74.1" name = "cargo-rhack" version = "0.1.5" authors = ["the cargo-rhack team"] description = "Temporarily edit your Cargo dependencies" homepage = "https://github.com/simonsan/cargo-rhack" readme = "README.md" keywords = [ "cli", "cargo", "dependency", "crate", ] categories = ["command-line-utilities"] license-file = "LICENSE" repository = "https://github.com/simonsan/cargo-rhack" [package.metadata.binstall] bin-dir = "{ bin }{ binary-ext }" pkg-fmt = "txz" pkg-url = "{ repo }/releases/download/v{ version }/{ bin }-{ target }{ archive-suffix }" [package.metadata.binstall.overrides.x86_64-pc-windows-msvc] pkg-fmt = "zip" [[package.metadata.generate-rpm.assets]] config = false dest = "/usr/bin/cargo-rhack" doc = false mode = "0755" source = "target/release/cargo-rhack" [package.metadata.wix] eula = false license = false path-guid = "7EC8468E-6ABF-44AD-8A17-94FFAABDFE2E" upgrade-guid = "761BAF94-3270-4E25-A807-B9C44138635A" [profile.bench] opt-level = 3 lto = true codegen-units = 1 debug = 2 debug-assertions = false rpath = false [profile.dev] opt-level = 0 lto = false codegen-units = 4 debug = 0 debug-assertions = true rpath = false strip = "debuginfo" [profile.dev.package."*"] opt-level = 3 debug = 2 [profile.dist] lto = "thin" inherits = "release" [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 0 debug-assertions = false rpath = false panic = "abort" strip = true [profile.test] opt-level = 1 lto = false codegen-units = 4 debug = 2 debug-assertions = true rpath = false [dependencies.anyhow] version = "1.0.81" [dependencies.clap] version = "4.3.24" features = [ "derive", "color", ] [dependencies.home] version = "0.5.5" [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" [dependencies.toml_edit] version = "0.22.7" [dev-dependencies.once_cell] version = "1.19.0" [lints.clippy] cast_lossless = "warn" complexity = "warn" correctness = "warn" default_trait_access = "warn" doc_markdown = "warn" enum_glob_use = "warn" expect_used = "warn" manual_string_new = "warn" match_same_arms = "warn" module_name_repetitions = "allow" nursery = "warn" pedantic = "warn" perf = "warn" semicolon_if_nothing_returned = "warn" suspicious = "warn" trivially_copy_pass_by_ref = "warn" unwrap_used = "warn" [lints.rust] bad_style = "warn" dead_code = "warn" improper_ctypes = "warn" no_mangle_generic_items = "warn" non_shorthand_field_patterns = "warn" overflowing_literals = "warn" path_statements = "warn" patterns_in_fns_without_body = "warn" rust_2018_idioms = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unconditional_recursion = "warn" unsafe_code = "forbid" unused = "warn" unused_allocation = "warn" unused_comparisons = "warn" unused_extern_crates = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_parens = "warn" unused_qualifications = "warn" unused_results = "warn" while_true = "warn"