[package]
edition = "2021"
rust-version = "1.81"
name = "hyperdb-bootstrap"
version = "0.2.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Download and install the hyperd executable from Tableau's Hyper C++ API release packages"
homepage = "https://github.com/tableau/hyper-api-rust"
readme = "README.md"
keywords = [
"hyper",
"tableau",
"hyperd",
"bootstrap",
"download",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tableau/hyper-api-rust"
[features]
cli = [
"dep:clap",
"dep:anyhow",
"dep:tracing-subscriber",
]
default = ["cli"]
[lib]
name = "hyperdb_bootstrap"
path = "src/lib.rs"
[[bin]]
name = "hyperdb-bootstrap"
path = "src/bin/hyperdb-bootstrap.rs"
required-features = ["cli"]
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.anyhow]
version = "1"
optional = true
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.regex]
version = "1"
[dependencies.reqwest]
version = "0.13"
features = [
"blocking",
"rustls",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.sha2]
version = "0.11"
[dependencies.tempfile]
version = "3.20"
[dependencies.thiserror]
version = "2.0"
[dependencies.toml]
version = "1.1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dependencies.zip]
version = "8"
features = ["deflate"]
default-features = false
[dev-dependencies.tempfile]
version = "3.20"
[build-dependencies.serde]
version = "1.0"
features = ["derive"]
[build-dependencies.toml]
version = "1.1"
[lints.clippy]
allow_attributes_without_reason = "warn"
as_underscore = "warn"
cast_lossless = "warn"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "warn"
cast_sign_loss = "deny"
clone_on_ref_ptr = "warn"
doc_markdown = "allow"
items_after_statements = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "deny"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unreadable_literal = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
unused_lifetimes = "warn"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]