[package] authors = ["Lucas Pickering "] description = "Terminal-based HTTP client" edition = "2021" homepage = "https://slumber.lucaspickering.me" keywords = ["rest", "http", "terminal", "tui"] license = "MIT" name = "slumber" repository = "https://github.com/LucasPickering/slumber" version = "2.3.0" # Keep in sync w/ rust-toolchain.toml rust-version = "1.80.0" [workspace] members = ["crates/*"] # 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} 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" 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_path = "0.7.1" serde_test = "1.0.176" serde_yaml = {version = "0.9.0", default-features = false} slumber_cli = {path = "./crates/cli", version = "2.3.0" } slumber_config = {path = "./crates/config", version = "2.3.0" } slumber_core = {path = "./crates/core", version = "2.3.0" } slumber_tui = {path = "./crates/tui", version = "2.3.0" } strum = {version = "0.26.3", default-features = false} tokio = {version = "1.39.2", default-features = false} tracing = "0.1.40" uuid = {version = "1.10.0", default-features = false} [dependencies] anyhow = {workspace = true, features = ["backtrace"]} slumber_cli = {workspace = true} slumber_core = {workspace = true} slumber_tui = {workspace = true} tokio = {workspace = true, features = ["macros", "rt-multi-thread"]} tracing = {workspace = true} tracing-subscriber = {version = "0.3.17", default-features = false, features = ["ansi", "fmt", "registry"]} # The profile that 'cargo dist' will build with [profile.dist] inherits = "release" lto = "thin" [package.metadata.release] pre-release-hook = ["./demo.sh", "--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"