2024-02-01 20:54:46 +03:00
|
|
|
workspace = { members = [ "runner" ] }
|
|
|
|
|
2023-12-16 08:05:45 +03:00
|
|
|
[package]
|
|
|
|
name = "binhost"
|
2024-02-04 07:28:53 +03:00
|
|
|
version = "0.3.2"
|
2023-12-16 08:05:45 +03:00
|
|
|
edition = "2021"
|
2023-12-16 08:47:24 +03:00
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/ivabus/binhost"
|
|
|
|
description = "HTTP server to easily serve files"
|
2023-12-16 08:05:45 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2024-02-01 20:54:46 +03:00
|
|
|
clap = { version = "4.4.18", features = ["derive"] }
|
2023-12-16 08:05:45 +03:00
|
|
|
rocket = "0.5.0"
|
2024-02-01 20:54:46 +03:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
sha2 = { version = "0.10"}
|
|
|
|
ed25519-compact = { version = "2.0.6", default-features = false, features = [ "random", "self-verify", "std"] }
|
|
|
|
|
|
|
|
# Reducing size as much as possible
|
|
|
|
[profile.release]
|
|
|
|
strip = true
|
|
|
|
opt-level = "s"
|
|
|
|
lto = true
|
|
|
|
panic = "abort"
|
|
|
|
codegen-units = 1
|
2023-12-16 10:11:33 +03:00
|
|
|
|
2024-02-01 20:54:46 +03:00
|
|
|
[profile.dev]
|
|
|
|
# Doesn't build on my machine without
|
|
|
|
opt-level = 1
|