# 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 = "2021"
name = "kangaroo"
version = "0.6.0"
authors = ["oritwoen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pollard's Kangaroo ECDLP solver for secp256k1 using Vulkan/Metal/DX12 compute"
readme = "README.md"
keywords = [
    "bitcoin",
    "ecdlp",
    "kangaroo",
    "gpu",
    "secp256k1",
]
categories = [
    "cryptography",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/oritwoen/kangaroo"

[features]
boha = [
    "dep:boha",
    "dep:num-bigint",
]
default = []

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bitcoin]
version = "0.32"
features = [
    "rand",
    "secp-recovery",
]

[dependencies.boha]
version = "0.11"
optional = true

[dependencies.bytemuck]
version = "1.19"
features = ["derive"]

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

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4"

[dependencies.indicatif]
version = "0.17"

[dependencies.k256]
version = "0.13"
features = [
    "arithmetic",
    "expose-field",
]

[dependencies.num-bigint]
version = "0.4"
optional = true

[dependencies.pollster]
version = "0.4"

[dependencies.rayon]
version = "1.10"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.wgpu]
version = "28"

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

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
