[package] name = "shackle-shell" version = "0.3.0" authors = ["Justin Wernick "] 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.3", features = ["derive"] } comfy-table = "6.2.0" git2 = { version = "0.18.1", 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"]