-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathCargo.toml
136 lines (123 loc) · 4.5 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[package]
name = "dolos"
description = "A Cardano data-node built in Rust"
version = "0.18.2"
edition = "2021"
repository = "https://github.com/txpipe/dolos"
homepage = "https://github.com/txpipe/dolos"
documentation = "https://docs.rs/dolos"
license = "Apache-2.0"
readme = "README.md"
authors = ["Santiago Carmuega <[email protected]>"]
[dependencies]
pallas = { git = "https://github.com/txpipe/pallas.git", features = ["hardano", "applying"] }
# pallas = { version = "^0.30.1", features = ["hardano", "applying"] }
# pallas = { path = "../pallas/pallas", features = ["hardano", "applying"] }
gasket = { git = "https://github.com/construkts/gasket-rs.git", features = ["derive"] }
# gasket = { version = "^0.8", features = ["derive"] }
# gasket = { path = "../../construkts/gasket-rs/gasket", features = ["derive"] }
redb = { version = "^2" }
hex = "0.4.3"
bech32 = "0.11.0"
clap = { version = "4.5.20", features = ["derive"] }
log = "0.4.18"
config = { version = "0.13.3", default-features = false, features = ["toml", "json"] }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.122"
thiserror = "1.0.30"
lazy_static = "1.4.0"
tracing = "0.1.37"
tracing-subscriber = "0.3.17"
bincode = "1.3.3"
miette = { version = "7.2.0", features = ["fancy"] }
tokio = { version = "^1.40", features = ["rt", "rt-multi-thread", "signal"] }
tokio-util = { version = "0.7.11", features = ["rt"] }
async-trait = "0.1.81"
tonic = { version = "0.12.3", features = ["tls"] }
tonic-web = "0.12.3"
tonic-reflection = "0.12.3"
bytes = "1.4.0"
futures-core = "0.3.31"
tokio-stream = { version = "0.1.14", features = ["sync"] }
futures-util = "0.3.28"
async-stream = "0.3.5"
serde_with = "3.8.1"
protoc-wkt = "1.0.0"
itertools = "0.13.0"
indicatif = "0.17.8"
trait-variant = "0.1.2"
comfy-table = { version = "7.1.1", optional = true }
inquire = { version = "0.7.5", optional = true }
toml = { version = "0.8.13", optional = true }
console-subscriber = { version = "0.3.0", optional = true }
flate2 = "1.0.34"
tar = "0.4.41"
reqwest = { version = "0.12.7", default-features = false, features = ["blocking", "rustls-tls"] }
paste = "1.0.15"
tower-http = { version = "0.6.1", features = ["cors"] }
chrono = { version = "0.4.39", default-features = false }
# phase2 dependencies
uplc = { git = "https://github.com/pragma-org/uplc.git", optional = true }
# blst = { version = "=0.3.13", optional = true }
rug = { version = "1.26.1", optional = true }
[target.'cfg(not(windows))'.dependencies.mithril-client]
version = "0.10.4"
optional = true
default-features = false
features = ["fs", "rug-backend", "rustls-tls", "rustls-tls-webpki-roots"]
[target.'cfg(windows)'.dependencies.mithril-client]
version = "0.10.4"
optional = true
default-features = false
features = ["fs", "num-integer-backend", "rustls-tls", "rustls-tls-native-roots"]
[dev-dependencies]
tempfile = "3.3.0"
[features]
mithril = ["mithril-client"]
utils = ["comfy-table", "inquire", "toml"]
debug = ["console-subscriber", "tokio/tracing"]
phase2 = ["uplc", "rug"]
default = ["mithril", "utils", "phase2"]
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.14.1"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "npm", "homebrew"]
# A GitHub repo to push Homebrew formulas to
tap = "txpipe/homebrew-tap"
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Whether to install an updater program
install-updater = false
# The preferred Rust toolchain to use in CI (rustup toolchain syntax)
rust-toolchain-version = "1.78.0"
# The archive format to use for windows builds (defaults .zip)
windows-archive = ".tar.gz"
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# A namespace to use when publishing this package to the npm registry
npm-scope = "@txpipe"
[workspace.metadata.release]
push = false
publish = false
pre-release-hook = ["git", "cliff", "-o", "CHANGELOG.md", "--tag", "{{version}}"]
[workspace.metadata.dist.github-custom-runners]
aarch64-apple-darwin = "macos-14"
aarch64-unknown-linux-gnu = "buildjet-2vcpu-ubuntu-2204-arm"