-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (47 loc) · 1.4 KB
/
Cargo.toml
File metadata and controls
55 lines (47 loc) · 1.4 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
46
47
48
49
50
51
52
53
54
55
[workspace]
members = ["crates/agent-describe", "crates/agent-describe-derive"]
resolver = "2"
[package]
name = "rara-cli-template"
version = "0.1.0"
edition = "2024"
description = "Scaffold new Rust CLI projects from the rara-cli-template"
license = "MIT"
repository = "https://github.com/rararulab/cli-template"
homepage = "https://github.com/rararulab/cli-template"
[[bin]]
name = "rara-cli-template"
path = "src/main.rs"
[dependencies]
clap = { version = "4", features = ["derive"] }
include_dir = "0.7"
snafu = "0.9"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process"] }
[dev-dependencies]
assert_cmd = "2"
predicates = "3"
tempfile = "3"
[lints.rust]
unsafe_code = "deny"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
redundant_pub_crate = "allow"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Config for cargo-dist — generates release binaries + Homebrew formula
[workspace.metadata.dist]
cargo-dist-version = "0.31.0"
ci = "github"
installers = ["shell", "homebrew"]
targets = ["aarch64-apple-darwin", "x86_64-unknown-linux-gnu"]
tap = "rararulab/homebrew-tap"
publish-jobs = ["homebrew"]
install-path = "CARGO_HOME"