# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.88"
name = "jjpr"
version = "0.13.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Manage stacked pull requests in Jujutsu repositories"
readme = "README.md"
keywords = [
    "jujutsu",
    "jj",
    "stacked-prs",
    "github",
    "gitlab",
]
categories = ["development-tools"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/michaeldhopkins/jjpr"

[lib]
name = "jjpr"
path = "src/lib.rs"

[[bin]]
name = "jjpr"
path = "src/main.rs"

[[example]]
name = "generate_assets"
path = "examples/generate_assets.rs"

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "e2e"
path = "tests/e2e.rs"

[[test]]
name = "jj_integration"
path = "tests/jj_integration.rs"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.ctrlc]
version = "3"

[dependencies.dialoguer]
version = "0.11"

[dependencies.libc]
version = "0.2.183"

[dependencies.percent-encoding]
version = "2"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.toml]
version = "0.8"

[dependencies.ureq]
version = "3"
features = ["json"]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.clap_complete]
version = "4"

[dev-dependencies.clap_mangen]
version = "0.2"

[dev-dependencies.insta]
version = "1"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
bool_to_int_with_if = "warn"
cognitive-complexity = "warn"
collapsible-if = "deny"
extend_with_drain = "deny"
fn-params-excessive-bools = "deny"
match_bool = "warn"
needless-range-loop = "deny"
struct-excessive-bools = "deny"
too-many-arguments = "deny"
too-many-lines = "warn"

[profile.dist]
lto = "thin"
inherits = "release"
