[package]
edition = "2021"
rust-version = "1.81.0"
name = "gitmoji-rs"
version = "3.1.0"
authors = ["Igor Laborie <ilaborie@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A [gitmoji](https://gitmoji.dev/) interactive client for using gitmojis on commit messages."
homepage = "https://github.com/ilaborie/gitmoji-rs"
readme = "README.md"
keywords = [
"cli",
"git",
"emoji",
"gitmoji",
]
categories = ["command-line-utilities"]
license = "MIT"
repository = "https://github.com/ilaborie/gitmoji-rs"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }-v{ version }{ archive-suffix }"
bin-dir = "{ name }-{ target }-v{ version }/{ bin }{ binary-ext }"
pkg-fmt = "tgz"
[features]
hook = []
[lib]
name = "gitmoji_rs"
path = "src/lib.rs"
[[bin]]
name = "gitmoji"
path = "src/main.rs"
[[test]]
name = "commit"
path = "tests/commit.rs"
[[test]]
name = "completion"
path = "tests/completion.rs"
[[test]]
name = "help"
path = "tests/help.rs"
[[test]]
name = "init"
path = "tests/init.rs"
[[test]]
name = "list"
path = "tests/list.rs"
[[test]]
name = "search"
path = "tests/search.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[[test]]
name = "update"
path = "tests/update.rs"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.clap_complete]
version = "4.5"
[dependencies.console]
version = "0.16"
[dependencies.derive_more]
version = "2.1"
features = [
"display",
"error",
"from",
]
default-features = false
[dependencies.dialoguer]
version = "0.12"
features = [
"fuzzy-select",
"history",
]
[dependencies.directories]
version = "6.0"
[dependencies.fuzzy-matcher]
version = "0.3"
[dependencies.reqwest]
version = "0.13.3"
features = [
"json",
"rustls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.tokio]
version = "1.48"
features = [
"process",
"fs",
"macros",
"rt-multi-thread",
]
[dependencies.toml_edit]
version = "0.25.11"
features = ["serde"]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"fmt",
"env-filter",
]
[dependencies.url]
version = "2.5"
features = ["serde"]
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.assert2]
version = "0.4.0"
[dev-dependencies.assert_cmd]
version = "2.1"
[dev-dependencies.assert_fs]
version = "1.1"
[dev-dependencies.rexpect]
version = "0.7.0"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.serial_test]
version = "3.2"
[dev-dependencies.test-log]
version = "0.2"
features = ["trace"]
default-features = false
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"
[profile.dist]
lto = "thin"
inherits = "release"
[profile.release]
lto = true
codegen-units = 1