mirror of
https://github.com/Twigpine/node.git
synced 2026-11-10 05:01:48 -10:00
80 lines
2.8 KiB
TOML
80 lines
2.8 KiB
TOML
[package]
|
|
name = "gitlawb-node"
|
|
description = "The gitlawb node daemon — git hosting over HTTP with DID auth"
|
|
version = "0.7.1" # x-release-please-version
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
|
|
[[bin]]
|
|
name = "gitlawb-node"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
gitlawb-core = { path = "../gitlawb-core" }
|
|
ed25519-dalek = { workspace = true }
|
|
base64 = { workspace = true }
|
|
tokio = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
chrono = { workspace = true }
|
|
uuid = { workspace = true }
|
|
axum = { version = "0.8", features = ["http1", "http2", "json", "ws"] }
|
|
async-graphql = { version = "7", features = ["chrono", "uuid", "tracing"] }
|
|
async-graphql-axum = "7"
|
|
tokio-stream = { version = "0.1", features = ["sync"] }
|
|
tower = "0.5"
|
|
tower-http = { version = "0.6", features = ["cors", "trace", "request-id", "limit"] }
|
|
sqlx = { version = "0.8", features = ["postgres", "runtime-tokio-rustls", "chrono", "uuid", "macros", "migrate"] }
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
bytes = "1"
|
|
libc = "0.2"
|
|
cid = { workspace = true }
|
|
hex = { workspace = true }
|
|
sha2 = { workspace = true }
|
|
hmac = { workspace = true }
|
|
http-body-util = "0.1"
|
|
tokio-util = { version = "0.7", features = ["io"] }
|
|
dirs-next = "2"
|
|
# NFC-normalize visibility globs/paths at the matcher seam so a deny rule
|
|
# withholds a canonically-equivalent path regardless of NFC/NFD form (#101).
|
|
unicode-normalization = "0.1"
|
|
reqwest = { workspace = true }
|
|
libp2p-core = "0.43"
|
|
libp2p-gossipsub = "0.49.4"
|
|
libp2p-identify = "0.47"
|
|
libp2p-identity = { version = "0.2", features = ["ed25519", "peerid", "rand"] }
|
|
libp2p-kad = "0.48"
|
|
libp2p-quic = { version = "0.13", features = ["tokio"] }
|
|
libp2p-swarm = { version = "0.47", features = ["macros", "tokio"] }
|
|
multiaddr = "0.18"
|
|
futures = "0.3"
|
|
aws-sdk-s3 = { version = "1", default-features = false, features = ["sigv4a", "default-https-client", "rt-tokio"] }
|
|
aws-config = { version = "1", features = ["behavior-version-latest"] }
|
|
async-compression = { version = "0.4", features = ["tokio", "zstd"] }
|
|
tar = "0.4"
|
|
zstd = "0.13"
|
|
# Prometheus metrics. Used to expose a /metrics endpoint for ops/observability
|
|
# on the opt-in GITLAWB_METRICS_ADDR listener. The crate is also the de-facto
|
|
# exposition format encoder in the Rust ecosystem.
|
|
prometheus = { version = "0.13", default-features = false }
|
|
alloy = { version = "1", default-features = false, features = [
|
|
"contract",
|
|
"provider-http",
|
|
"reqwest",
|
|
"signer-local",
|
|
"signers",
|
|
"sol-types",
|
|
"network",
|
|
"rpc-types-eth",
|
|
] }
|
|
libp2p-dns = { version = "0.44.0", features = ["tokio"] }
|
|
|
|
[dev-dependencies]
|
|
mockito = "1"
|
|
tempfile = "3"
|