-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathCargo.toml
105 lines (97 loc) · 3.8 KB
/
Cargo.toml
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[package]
authors = {workspace = true}
description = "Terminal-based HTTP client"
edition = {workspace = true}
homepage = {workspace = true}
keywords = {workspace = true}
license = {workspace = true}
name = "slumber"
repository = {workspace = true}
rust-version = {workspace = true}
version = {workspace = true}
[workspace]
members = ["crates/*"]
[workspace.package]
authors = ["Lucas Pickering <lucas@lucaspickering.me>"]
edition = "2021"
homepage = "https://slumber.lucaspickering.me"
keywords = ["rest", "http", "terminal", "tui"]
license = "MIT"
repository = "https://github.com/LucasPickering/slumber"
version = "2.5.0"
# Keep in sync w/ rust-toolchain.toml
rust-version = "1.80.0"
# Dependencies used in multiple crates get de-duplicated here
[workspace.dependencies]
anyhow = "1.0.0"
bytes = {version = "1.6.1", default-features = false}
chrono = {version = "0.4.31", default-features = false}
crossterm = {version = "0.28.0", default-features = false, features = ["events"]}
derive_more = {version = "1.0.0", default-features = false}
dialoguer = {version = "0.11.0", default-features = false}
dirs = "5.0.1"
env-lock = "0.1.0"
futures = "0.3.28"
indexmap = {version = "2.0.0", default-features = false}
itertools = "0.13.0"
mime = "0.3.17"
pretty_assertions = "1.4.0"
ratatui = {version = "0.28.0", default-features = false}
reqwest = {version = "0.12.5", default-features = false}
rstest = {version = "0.21.0", default-features = false}
serde = {version = "1.0.204", default-features = false}
serde_json = {version = "1.0.120", default-features = false, features = ["preserve_order"]}
serde_test = "1.0.176"
serde_yaml = {version = "0.9.0", default-features = false}
slumber_cli = {path = "./crates/cli", version = "2.5.0"}
slumber_config = {path = "./crates/config", version = "2.5.0"}
slumber_core = {path = "./crates/core", version = "2.5.0"}
slumber_import = {path = "./crates/import", version = "2.5.0"}
slumber_tui = {path = "./crates/tui", version = "2.5.0"}
strum = {version = "0.26.3", default-features = false}
thiserror = "1.0.63"
tokio = {version = "1.39.2", default-features = false}
tracing = "0.1.40"
uuid = {version = "1.10.0", default-features = false}
winnow = "0.6.16"
[dependencies]
anyhow = {workspace = true, features = ["backtrace"]}
slumber_cli = {workspace = true}
slumber_core = {workspace = true}
slumber_tui = {workspace = true, optional = true}
tokio = {workspace = true, features = ["macros", "rt"]}
tracing = {workspace = true}
tracing-subscriber = {version = "0.3.17", default-features = false, features = ["ansi", "fmt", "registry"]}
[features]
default = ["tui"]
# TUI can be disabled in dev to speed compilation while testing CLI
tui = ["dep:slumber_tui"]
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
[package.metadata.release]
pre-release-hook = ["python", "./gifs.py", "--check"]
pre-release-replacements = [
{file = "CHANGELOG.md", search = "## \\[Unreleased\\] - ReleaseDate", replace = "## [Unreleased] - ReleaseDate\n\n## [{{version}}] - {{date}}"},
]
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.22.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "homebrew"]
# A GitHub repo to push Homebrew formulas to
tap = "LucasPickering/homebrew-tap"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
# Which actions to run on pull requests
pr-run-mode = "plan"
# Whether to install an updater program
install-updater = false
# Path that installers should place binaries in
install-path = "CARGO_HOME"