blob: e186af9ff2300cb8126fa6c2fc6783731a4ce303 (
plain)
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
|
[package]
name = "shackle-shell"
version = "0.3.0"
authors = ["Justin Wernick <justin@worthe-it.co.za>"]
edition = "2021"
description = "A shell for restricting access on a version control server"
readme = "README.md"
# TODO: homepage = ""
repository = "https://codeberg.org/worthe-it/shackle-shell"
license = "MIT OR Apache-2.0"
keywords = ["shell", "version-control", "git", "cli"]
categories = ["command-line-utilities"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { version = "4.4.4", features = ["derive"] }
comfy-table = "6.2.0"
git2 = { version = "0.18.0", default-features = false, features = ["vendored-libgit2"] }
humansize = "2.1.3"
nix = { version = "0.27.1", default-features = false, features = ["user", "fs"] }
rustyline = { version = "11.0.0", default-features = false }
shlex = "1.1.0"
thiserror = "1.0.48"
[dev-dependencies]
anyhow = "1.0.75"
assert_cmd = "2.0.12"
predicates = "2.1.5" # match the version in assert_cmd
get-port = "4.0.0"
once_cell = "1.18.0"
tempfile = "3.4.0"
rexpect = "0.5.0"
[features]
docker_tests = []
default = ["docker_tests"]
[profile.dev.package."*"]
opt-level = 3
# incremental compile is rarely useful for dependencies since they change
# infrequently, and having this on breaks sccache
incremental = false
[profile.release]
lto = true
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.0.7"
# The preferred Rust toolchain to use in CI (rustup toolchain syntax)
rust-toolchain-version = "1.67.1"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu"]
|