summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: d276b3fc2d2d9d5f31ba28be88baf15f0365d986 (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
36
[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.5.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.8"
ansi_term = "0.12"
atty = "0.2"
no_color = "0.1"

[dev-dependencies]
assert_cmd = "2.0.12"
rusty-hook = "^0.11.2"