55 lines
1.8 KiB
TOML
55 lines
1.8 KiB
TOML
[package]
|
|
name = "bal-server"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[dependencies]
|
|
hyper = { version = "1.3.1", features = ["http1","server"] }
|
|
hyper-util = { version = "0.1.3", features = ["tokio"] }
|
|
|
|
tokio = { version = "1", features = ["rt", "net","macros","rt-multi-thread"] } # Keep only necessary runtime components
|
|
http-body-util = "0.1"
|
|
bytes = "1.2"
|
|
serde = { version = "1.0.152", features = ["derive"] }
|
|
serde_json = "1.0.116"
|
|
confy = "0.6.1"
|
|
bitcoin = "0.31.0"
|
|
sqlite = "0.34.0"
|
|
hex-conservative = "0.1.1"
|
|
regex = "1.10.4"
|
|
log = "0.4.21"
|
|
env_logger = "0.11.5"
|
|
|
|
|
|
# hyper = { version = "1.2", features = ["server"] } # Disattiva tutte le funzionalità tranne "server"
|
|
# tokio = { version = "1", features = ["full"] } # Tieni "full" perché è utilizzato in tokio-util
|
|
# http-body-util = { version = "0.1", default-features = false } # Disattiva le funzionalità di default
|
|
# hyper-util = { version = "0.1", features = [] } # Disattiva tutte le funzionalità
|
|
# bytes = "1.2"
|
|
# serde = { version = "1.0.152", features = ["derive"] }
|
|
# serde_json = "1.0.116"
|
|
# confy = "0.6.1"
|
|
# bitcoin = "0.31.0"
|
|
# sqlite = "0.34.0"
|
|
# hex-conservative = "0.1.1"
|
|
# regex = "1.10.4"
|
|
# log = "0.4.21"
|
|
# env_logger = "0.11.5"
|
|
|
|
# hyper = { version = "1.2", features = ["full"] }
|
|
# tokio = { version = "1", features = ["full"] }
|
|
# http-body-util = "0.1"
|
|
# hyper-util = { version = "0.1", features = ["full"] }
|
|
# bytes = "1.2"
|
|
# serde = { version = "1.0.152", features = ["derive"] } # <- Only one serde version needed (serde or serde_derive)
|
|
# serde_json = "1.0.116"
|
|
# confy = "0.6.1"
|
|
# bitcoin = "0.31.0"
|
|
# sqlite = "0.34.0"
|
|
# hex-conservative = "0.1.1"
|
|
# regex = "1.10.4"
|
|
# log = "0.4.21"
|
|
# env_logger = "0.11.5"
|
|
|