# 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 = "git-revise" version = "0.1.8" authors = ["Jasper Zhang "] build = false exclude = [ "assets/*", ".github", "Makefile.toml", "CHANGELOG.md", "*.log", "tags", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A command line utility for better commit" homepage = "https://github.com/vainjoker/revise" readme = "README.md" keywords = [ "git", "termiaznl", "commit", ] license = "GPL-3.0" repository = "https://github.com/vainjoker/revise" [profile.dist] lto = "thin" inherits = "release" [profile.release] strip = true [lib] name = "git_revise" path = "src/lib.rs" [[bin]] name = "git-revise" path = "src/main.rs" [dependencies.anyhow] version = "1.0" [dependencies.clap] version = "4.5.8" features = ["derive"] [dependencies.colored] version = "2.1.0" [dependencies.dirs] version = "5.0.0" [dependencies.dotenvy] version = "0.15.0" [dependencies.exitcode] version = "1.1.2" [dependencies.human-panic] version = "2.0" [dependencies.inquire] version = "0.7.0" features = ["editor"] [dependencies.realme] version = "0.1.3" features = [ "toml", "env_with_replace", ] [dependencies.reqwest] version = "0.12.5" features = ["json"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tera] version = "1" default-features = false [dependencies.tokio] version = "1.40" features = [ "rt", "macros", "rt-multi-thread", ] [lints.clippy] as_underscore = "warn" cast_possible_truncation = "allow" cast_possible_wrap = "allow" cast_precision_loss = "allow" cast_sign_loss = "allow" deref_by_slicing = "warn" else_if_without_else = "warn" empty_line_after_doc_comments = "warn" equatable_if_let = "warn" fn_to_numeric_cast_any = "warn" format_push_string = "warn" map_err_ignore = "warn" missing_const_for_fn = "warn" missing_errors_doc = "allow" missing_panics_doc = "allow" mixed_read_write_in_expression = "warn" module_inception = "allow" module_name_repetitions = "allow" must_use_candidate = "allow" needless_raw_strings = "warn" redundant_type_annotations = "warn" rest_pat_in_fully_bound_structs = "warn" string_lit_chars_any = "warn" string_to_string = "warn" use_self = "warn" wildcard_imports = "allow" [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] unsafe_code = "forbid"