caesar-transfer/Cargo.toml

102 lines
3.1 KiB
TOML

[package]
name = "caesar-transfer-iu"
version = "0.3.1"
edition = "2021"
build = "src/build.rs"
authors = ["Manuel Keidel", "Patryk Hegenberg", "Krzysztof Stankiewicz"]
description = "A CLI tool for secure, end-to-end encrypted file transfer."
repository = "https://github.com/PatrykHegenberg/caesar-transfer"
[[bin]]
name = "caesar"
path = "src/main.rs"
[[bin]]
name = "caesar-transfer-iu"
path = "src/shuttle.rs"
[dependencies]
futures-util = "0.3"
tungstenite = "0.21.0"
tokio = { version = "1.28.1", features = ["full"] }
tokio-tungstenite = { version = "0.21.0", features = [
"rustls-tls-webpki-roots",
] }
serde_json = { version = "1.0" }
serde = { version = "1.0", features = ["derive"] }
uuid = { version = "1.3.2", features = ["v4"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
dotenv = { version = "0.15.0", features = ["clap", "cli"] }
clap = { version = "4.5.4", features = ["derive"] }
flume = { git = "https://github.com/zesterer/flume", rev = "80d19c49" }
prost = "0.12.4"
prost-types = "0.12.4"
base64 = "0.22.0"
url = "2.4.0"
p256 = { version = "0.13.2", features = ["ecdh"] }
hmac = "0.12.1"
sha2 = "0.10.7"
rand = { version = "0.8.5", features = ["getrandom"] }
aes-gcm = "0.10.3"
sanitize-filename = "0.5.0"
qr2term = "0.3.1"
axum = { version = "0.7.5", features = ["ws"] }
tower-http = { version = "0.5.2", features = ["fs", "trace"] }
axum-client-ip = "0.6.0"
local-ip-address = "0.6.1"
axum-extra = { version = "0.9.3", features = ["typed-header"] }
headers = "0.4"
tower = { version = "0.4", features = ["util"] }
shuttle-axum = { version = "0.44.0" }
shuttle-runtime = { version = "0.44.0" }
dotenvy = "0.15.7"
reqwest = { version = "0.12.4", features = ["blocking", "json"] }
hex = "0.4.3"
[build-dependencies]
prost-build = "0.12.4"
cc = "1.0.96"
# 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.13.3"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
]
# Publish jobs to run in CI
pr-run-mode = "plan"
[workspace.metadata.dist.dependecies.homebrew]
protobuf = { version = "*", stage = ["build"] }
gcc = { version = "*", stage = ["build"] }
cmake = { version = "*", stage = ["build"] }
make = { version = "*", stage = ["build"] }
llvm = { version = "*", stage = ["build"] }
libcue = { version = "*", stage = ["build"] }
[workspace.metadata.dist.dependecies.apt]
protobuf-compile = { version = "*", stage = ["build"] }
[workspace.metadata.dist.dependecies.chocolatey]
protoc = { version = "*", stage = ["build"] }
[workspace.metadata.dist.custom-runners]
aarch64-apple-darwin = "macos-latest"
x86_64-apple-darwin = "macos-12"
x86_64-unknown-linux-gnu = "ubuntu-latest"
x86_64-pc-windows-msvc = "windows-latest"