-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (39 loc) · 1.15 KB
/
Cargo.toml
File metadata and controls
45 lines (39 loc) · 1.15 KB
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
37
38
39
40
41
42
43
44
45
[package]
name = "tomato-toml"
version = "1.0.0"
edition = "2024"
authors = ["C J Silverio <ceejceej@gmail.com>"]
description = "🍅 A command-line tool to get and set values in toml files while preserving comments and formatting."
readme = "README.md"
license = "BlueOak-1.0.0"
categories = ["command-line-utilities"]
keywords = ["cli", "toml", "bash", "shell"]
repository = "https://github.com/ceejbot/tomato"
homepage = "https://github.com/ceejbot/tomato"
[[bin]]
name = "tomato"
path = "src/main.rs"
[dependencies]
clap = { version = "4.5", features = ["derive", "wrap_help"] }
clap_complete = "4.5"
miette = { version = "7.6.0", features = ["fancy"] }
serde_json = "1.0"
thiserror = "2.0.12"
toml = "0.9.5"
# This does all the work.
toml_edit = { version = "0.23.4", features = ["serde"] }
[lints.rust]
unsafe_code = { level = "deny", priority = 1 }
future_incompatible = { level = "deny", priority = 2 }
trivial_casts = { level = "warn", priority = 3 }
rust_2018_idioms = { level = "warn", priority = 4 }
[dev-dependencies]
tempfile = "3.8"
[lints.clippy]
unwrap_used = "deny"
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
strip = true
panic = "abort"