312 lines
6.6 KiB
TOML
312 lines
6.6 KiB
TOML
# 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"
|
|
name = "asic-rs"
|
|
version = "0.8.1"
|
|
build = "build.rs"
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Simple ASIC management in Rust"
|
|
documentation = "https://256foundation.github.io/asic-rs"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"asic",
|
|
"bitcoin",
|
|
"whatsminer",
|
|
"antminer",
|
|
"bitaxe",
|
|
]
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/256foundation/asic-rs"
|
|
|
|
[features]
|
|
antminer = ["dep:asic-rs-firmwares-antminer"]
|
|
auradine = ["dep:asic-rs-firmwares-auradine"]
|
|
avalonminer = ["dep:asic-rs-firmwares-avalonminer"]
|
|
bitaxe = ["dep:asic-rs-firmwares-bitaxe"]
|
|
braiins = ["dep:asic-rs-firmwares-braiins"]
|
|
core = []
|
|
default = [
|
|
"core",
|
|
"antminer",
|
|
"futurebit",
|
|
"auradine",
|
|
"avalonminer",
|
|
"bitaxe",
|
|
"braiins",
|
|
"elphapex",
|
|
"epic",
|
|
"luxminer",
|
|
"marathon",
|
|
"nerdaxe",
|
|
"proto",
|
|
"sealminer",
|
|
"vnish",
|
|
"volcminer",
|
|
"whatsminer",
|
|
]
|
|
elphapex = ["dep:asic-rs-firmwares-elphapex"]
|
|
epic = ["dep:asic-rs-firmwares-epic"]
|
|
futurebit = ["dep:asic-rs-firmwares-futurebit"]
|
|
luxminer = ["dep:asic-rs-firmwares-luxminer"]
|
|
marathon = ["dep:asic-rs-firmwares-marathon"]
|
|
nerdaxe = ["dep:asic-rs-firmwares-nerdaxe"]
|
|
proto = ["dep:asic-rs-firmwares-proto"]
|
|
python = [
|
|
"dep:asic-rs-pydantic",
|
|
"dep:pyo3",
|
|
"dep:pyo3-async-runtimes",
|
|
"dep:pyo3-log",
|
|
"asic-rs-core/python",
|
|
"asic-rs-makes-antminer/python",
|
|
"asic-rs-makes-auradine/python",
|
|
"asic-rs-makes-avalon/python",
|
|
"asic-rs-makes-bitaxe/python",
|
|
"asic-rs-makes-braiins/python",
|
|
"asic-rs-makes-elphapex/python",
|
|
"asic-rs-makes-epic/python",
|
|
"asic-rs-makes-futurebit/python",
|
|
"asic-rs-makes-nerdaxe/python",
|
|
"asic-rs-makes-proto/python",
|
|
"asic-rs-makes-sealminer/python",
|
|
"asic-rs-makes-volcminer/python",
|
|
"asic-rs-makes-whatsminer/python",
|
|
"asic-rs-makes-marathon/python",
|
|
"asic-rs-firmwares-antminer?/python",
|
|
"asic-rs-firmwares-futurebit?/python",
|
|
"asic-rs-firmwares-auradine?/python",
|
|
"asic-rs-firmwares-avalonminer?/python",
|
|
"asic-rs-firmwares-bitaxe?/python",
|
|
"asic-rs-firmwares-braiins?/python",
|
|
"asic-rs-firmwares-elphapex?/python",
|
|
"asic-rs-firmwares-epic?/python",
|
|
"asic-rs-firmwares-luxminer?/python",
|
|
"asic-rs-firmwares-marathon?/python",
|
|
"asic-rs-firmwares-nerdaxe?/python",
|
|
"asic-rs-firmwares-proto?/python",
|
|
"asic-rs-firmwares-sealminer?/python",
|
|
"asic-rs-firmwares-vnish?/python",
|
|
"asic-rs-firmwares-volcminer?/python",
|
|
"asic-rs-firmwares-whatsminer?/python",
|
|
]
|
|
sealminer = ["dep:asic-rs-firmwares-sealminer"]
|
|
vnish = ["dep:asic-rs-firmwares-vnish"]
|
|
volcminer = ["dep:asic-rs-firmwares-volcminer"]
|
|
whatsminer = ["dep:asic-rs-firmwares-whatsminer"]
|
|
|
|
[lib]
|
|
name = "asic_rs"
|
|
crate-type = [
|
|
"cdylib",
|
|
"lib",
|
|
]
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.anyhow]
|
|
version = "1.0"
|
|
|
|
[dependencies.asic-rs-core]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-firmwares-antminer]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-auradine]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-avalonminer]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-bitaxe]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-braiins]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-elphapex]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-epic]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-futurebit]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-luxminer]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-marathon]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-nerdaxe]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-proto]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-sealminer]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-vnish]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-volcminer]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-firmwares-whatsminer]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.asic-rs-makes-antminer]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-auradine]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-avalon]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-bitaxe]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-braiins]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-elphapex]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-epic]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-futurebit]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-marathon]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-nerdaxe]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-proto]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-sealminer]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-volcminer]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-makes-whatsminer]
|
|
version = "0.8.1"
|
|
|
|
[dependencies.asic-rs-pydantic]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.async-stream]
|
|
version = "0.3.6"
|
|
|
|
[dependencies.futures]
|
|
version = "0.3"
|
|
|
|
[dependencies.ipnet]
|
|
version = "2.12"
|
|
|
|
[dependencies.measurements]
|
|
version = "0.11"
|
|
features = ["serde"]
|
|
|
|
[dependencies.pyo3]
|
|
version = "0.28.2"
|
|
features = [
|
|
"chrono-tz",
|
|
"experimental-async",
|
|
"experimental-inspect",
|
|
"multiple-pymethods",
|
|
"time",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.pyo3-async-runtimes]
|
|
version = "0.28.0"
|
|
features = [
|
|
"tokio-runtime",
|
|
"unstable-streams",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.pyo3-log]
|
|
version = "0.13.3"
|
|
optional = true
|
|
|
|
[dependencies.rand]
|
|
version = "0.10"
|
|
|
|
[dependencies.rlimit]
|
|
version = "0.11"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0"
|
|
|
|
[dependencies.tokio]
|
|
version = "1.50"
|
|
features = ["full"]
|
|
|
|
[dependencies.tokio-stream]
|
|
version = "0.1.18"
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.44"
|
|
features = ["log"]
|
|
|
|
[build-dependencies.pyo3-build-config]
|
|
version = "0.28.2"
|
|
|
|
[lints.clippy]
|
|
expect_used = "deny"
|
|
panic = "deny"
|
|
unwrap_used = "deny"
|
|
|
|
[lints.rust]
|
|
warnings = "deny"
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "fat"
|
|
codegen-units = 1
|
|
panic = "unwind"
|
|
incremental = false
|
|
strip = true
|