-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (43 loc) · 1.46 KB
/
Copy pathCargo.toml
File metadata and controls
50 lines (43 loc) · 1.46 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
# termlens workspace.
#
# `crates/` holds publishable members; `fixtures/` holds deterministic test
# programs that the integration suite spawns inside real PTYs (publish = false).
[workspace]
resolver = "2"
members = ["crates/termlens", "fixtures/*"]
[workspace.package]
version = "0.2.1"
edition = "2021"
# Minimum supported Rust version. Checked by the `msrv` CI job, which reads
# this field; bumping it is a minor (not patch) change per our SemVer policy.
#
# 1.85 is dictated by the default `insta` feature's tree (insta -> tempfile ->
# getrandom 0.4). The core library itself only needs what portable-pty/vt100
# need (~1.70); we declare what CI can actually verify with the lockfile.
rust-version = "1.85"
license = "MIT OR Apache-2.0"
repository = "https://github.com/vyncint/termlens"
authors = ["Vyncint Ng <vyncint@icloud.com>"]
[workspace.dependencies]
termlens = { path = "crates/termlens", version = "0.2.1" }
portable-pty = "0.9"
vt100 = "0.16"
thiserror = "2"
unicode-width = "0.2"
# Already in the tree transitively (portable-pty); used directly for one
# kill(2) call behind Terminal::signal.
libc = "0.2"
# Dev / fixture dependencies.
insta = "1.48"
anyhow = "1"
crossterm = "0.29"
[workspace.lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
unsafe_code = "warn"
unreachable_pub = "warn"
missing_debug_implementations = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
dbg_macro = "warn"
todo = "warn"
unimplemented = "warn"