forked from regolith-labs/ore-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
74 lines (68 loc) · 2.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[package]
name = "ore-cli"
version = "2.3.2"
edition = "2021"
license = "Apache-2.0"
description = "A command line interface for ORE cryptocurrency mining."
documentation = "https://ore.supply"
homepage = "https://ore.supply"
repository = "https://github.com/regolith-labs/ore-cli"
readme = "./README.md"
keywords = ["solana", "crypto", "mining"]
[[bin]]
name = "ore"
path = "src/main.rs"
[features]
default = []
admin = []
[dependencies]
bincode = "1.3.3"
bs58 = "0.5.1"
bytemuck = "1.16"
cached = "0.46.1"
chrono = "0.4.38"
clap = { version = "4.4.12", features = ["derive"] }
colored = "2.0"
core_affinity = "0.8.1"
drillx = "2.1.0"
futures = "0.3.30"
indicatif = "0.17.8"
mpl-token-metadata = "4.1.2"
num_cpus = "1.16.0"
ore-api = "2.1.9"
ore-boost-api = "0.1.0"
ore-pool-api = { path = "../ore-pool/api" }
ore-pool-types = { path = "../ore-pool/types", package = "types" }
url = "2.5"
rand = "0.8.4"
reqwest = { version = "0.12", features = ["json"] }
solana-cli-config = "^1.18"
solana-client = "^1.18"
solana-program = "^1.18"
solana-rpc-client = "^1.18"
solana-sdk = "^1.18"
solana-transaction-status = "^1.18"
serde_json = "1.0"
spl-token = { version = "^4", features = ["no-entrypoint"] }
spl-associated-token-account = { version = "^2.3", features = [
"no-entrypoint",
] }
serde = { version = "1.0", features = ["derive"] }
steel = { version = "1.2.0" }
thiserror = "1.0.63"
tokio = "1.35.1"
tokio-tungstenite = "0.16"
[patch.crates-io]
ore-api = { path = "../ore/api" }
ore-boost-api = { path = "../ore-boost/api" }
[profile.release]
opt-level = 3 # Optimize for binary size. You can use "3" for full optimizations if binary size isn't an issue.
codegen-units = 1 # Better optimization with fewer codegen units
lto = true # Enable Link Time Optimization (LTO)
debug = false # Disable debug info to reduce binary size
panic = 'abort' # Reduces the binary size further by not including unwinding information
rpath = false
incremental = false
overflow-checks = false
[build]
rustflags = ["-C", "target-cpu=native"]