summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: cc7aa4b95f38d7e8e4074528743a27cba891af10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
authors = ["sitkevij"]
categories = ["command-line-utilities", "development-tools"]
description = "Futuristic take on hexdump, made in Rust."
repository = "https://github.com/sitkevij/hex"
keywords = ["hexdump", "hexadecimal", "tools", "ascii", "hex"]
include = ["src/**/*", "Cargo.toml", "Cargo.lock", "README.md", "hx.1"]
license = "MIT"
name = "hx"
readme = "README.md"
version = "0.6.0"
edition = "2021"

# see https://doc.rust-lang.org/cargo/reference/manifest.html

# The development profile, used for `cargo build`.
[profile.dev]
opt-level = 0 # controls the `--opt-level` the compiler builds with.
# 0-1 is good for debugging. 2 is well-optimized. Max is 3.
codegen-units = 16 # if > 1 enables parallel code generation which improves
# compile times, but prevents some optimizations.
# Passes `-C codegen-units`. Ignored when `lto = true`.
panic = 'unwind' # panic strategy (`-C panic=...`), can also be 'abort'

[profile.release]
opt-level = 3

[dependencies]
clap = "4.4"
ansi_term = "0.12"
no_color = "0.1"

[dev-dependencies]
assert_cmd = "2.0"
rusty-hook = "^0.11"