Files
gitks/Cargo.toml
T
zhenyi f0a443932a feat(server): add gitks gRPC server with environment configuration
- Add dotenvy dependency for environment variable loading
- Integrate tracing-subscriber for structured logging
- Create main.rs entry point with async server initialization
- Implement environment-based host and port configuration
- Set default address to 0.0.0:50051 for gRPC server
- Add proper error handling with Box<dyn std::error::Error>
2026-06-04 14:10:29 +08:00

40 lines
1.3 KiB
TOML

[package]
name = "gitks"
version = "1.0.0"
edition = "2024"
authors = ["gitks contributors"]
description = "A gRPC-accessible Git repository operations library for bare repositories"
repository = ""
readme = ""
homepage = ""
license = "PolyForm-Noncommercial-1.0.0"
keywords = ["git", "grpc", "bare-repository", "gix"]
categories = ["development-tools"]
documentation = ""
[lib]
path = "lib.rs"
name = "gitks"
[dependencies]
serde = { version = "1.0.228", features = ["derive"] }
gix = { version = "0.84.0", default-features = false, features = ["serde", "blame", "sha256", "sha1", "tracing", "merge", "max-performance-safe", "revision"] }
gix-archive = { version = "0.33.0", features = ["sha256","sha1","document-features"] }
duct = { version = "1.1.1", features = [] }
tracing = { version = "0.1.32", features = ["log"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "io-util", "sync", "net"] }
tokio-stream = { version = "0.1.18", features = ["full"] }
thiserror = { version = "2.0.18", features = [] }
prost = "0.13"
prost-types = "0.13"
tonic = { version = "0.12", features = ["transport"] }
tempfile = "3"
dotenvy = "0.15"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[[bin]]
name = "gitks"
path = "main.rs"
[build-dependencies]
tonic-build = "0.12"