-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
69 lines (63 loc) · 2.53 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
[package]
authors = ["Lucas Pickering <[email protected]>"]
description = "Easily switch between common values for arbitrary environment variables"
edition = "2021"
keywords = ["env", "environment", "export"]
license = "MIT"
name = "env-select"
repository = "https://github.com/LucasPickering/env-select"
# Keep in sync w/ rust-toolchain.toml
rust-version = "1.80.0"
version = "1.2.0"
[[bin]]
name = "es"
path = "src/main.rs"
[dependencies]
anyhow = {version = "^1.0.65", features = ["backtrace"]}
clap = {version = "^4.5.19", features = ["derive"]}
clap_complete = {version = "4.5.32", features = ["unstable-dynamic"]}
ctrlc = "^3.2.3"
derive_more = {version = "^1.0.0", default-features = false, features = ["deref", "display", "from"]}
dialoguer = {version = "^0.11.0", default-features = false}
dotenv-parser = {version = "0.1.3", default-features = false}# Pinned because unpopular
env_logger = {version = "^0.11.5", default-features = false, features = ["auto-color"]}
futures = {version = "0.3.30", default-features = false, features = ["std"]}
indexmap = {version = "^2.0.0", features = ["serde"]}
log = "^0.4.17"
serde = {version = "^1.0.145", default-features = false, features = ["derive"]}
smol = "2.0.0"
termcolor = "^1.2.0"
toml = {version = "^0.8.19", features = ["preserve_order"]}
[dev-dependencies]
assert_cmd = {version = "^2.0.11", default-features = false, features = ["color-auto"]}
pretty_assertions = "^1.4.0"
rstest = {version = "^0.23.0", default-features = false}
rstest_reuse = "^0.7.0"
serde_test = "^1.0.165"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.6.0"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = ["homebrew", "shell"]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
# A GitHub repo to push Homebrew formulas to
tap = "LucasPickering/homebrew-tap"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-pc-windows-msvc"]
[workspace.metadata.release]
# https://github.com/crate-ci/cargo-release/blob/master/docs/reference.md
allow-branch = ["master"]
pre-release-replacements = [
{file = "CHANGELOG.md", search = "Unreleased", replace = "{{version}}"},
{file = "CHANGELOG.md", search = "ReleaseDate", replace = "{{date}}"},
]