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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[]
= "git-queue"
= "0.1.1"
= "2021"
= "Manage queues of dependent branches and their numbered pull requests"
= "MIT"
= "https://github.com/freshtonic/git-queue"
= "README.md"
= ["git", "pull-request", "stacked-diffs", "rebase", "github"]
= ["command-line-utilities", "development-tools"]
# Ship only what's needed to build and document the crate — keep the marketing
# site (index.html, fonts/) and internal docs out of the crates.io package.
= ["src/**/*", "skills", "README.md", "LICENSE", "CHANGELOG.md"]
# One binary, `git-queue`, is built from a thin wrapper in src/bin/ around the
# library's `run()`, so `git queue ...` dispatches to it via git's standard
# subcommand mechanism. `git queue setup` can add a `git q` alias to the user's
# global git config for a shorter form.
[]
= "1"
= { = "4", = ["derive"] }
= "4"
= "0.2"
# Cross-platform OS entropy for minting Stable-Commit-Ids (a thin wrapper over
# each platform's RNG — getrandom syscall / BCryptGenRandom — no C deps).
= "0.3"
# The interactive `git queue tui` editor (ADR-0001). By far the project's
# largest dependency; the domain logic lives in the headless `engine`, so the
# TUI stack is confined to the thin `view` shell. crossterm is re-exported via
# `ratatui::crossterm`, so its version stays locked to ratatui's.
= "0.29"
= { = "1", = ["derive"] }
= "1"
[]
= "2"
= "3"
[]
= "forbid" # this crate has no unsafe (it shells out to git)
= "warn"
= "warn"
= { = "warn", = -1 }
[]
# Lint groups (priority -1 so individual overrides below win)
= { = "warn", = -1 }
= { = "warn", = -1 }
= { = "warn", = -1 }
# Pedantic/nursery lints that are more noise than signal
= "allow"
= "allow"
= "allow" # binary crate — you're not publishing an API
= "allow"
= "allow" # noisy if you use tokio spawn_local / !Send futures
= "allow" # nursery; often reduces readability
# Index/coordinate math for the ratatui TUI casts freely between usize/u16/isize;
# truncation/wrap/sign there is intended, not a bug.
= "allow"
= "allow"
= "allow"
= "allow" # the TUI `App` is legitimately a bag of flags
= "allow" # render/dispatch/setup fns are inherently long
= "allow" # nursery; `clone_from` hurts readability here
= "allow" # defining a helper next to its use is fine
= "allow" # the `write!` alternative fights unwrap_used
= "allow" # command / key-handler fns share a uniform
# `-> Result<()>` for uniform dispatch
= "allow" # churn > value for internal helpers, and it
# false-positives on consumed/owned args
# `unreachable_pub` (rust) wants internal items to be `pub(crate)`; nursery's
# `redundant_pub_crate` then calls that redundant. They contradict — keep the
# former (it documents the real API surface) and silence the latter.
= "allow"
# Deny the footguns
= "warn" # consider "deny" once the codebase is clean
= "warn"
= "warn"
= "warn"
= "allow" # it's a binary — printing is the point
# (set "warn" if all output goes via a logger/tracing)
# generated by 'cargo dist init'
[]
= "release"
= true
= "packed"