55 lines
1.6 KiB
TOML
55 lines
1.6 KiB
TOML
[package]
|
|
name = "file-service"
|
|
version = "0.1.0"
|
|
authors = ["savanni@luminescent-dreams.com"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[features]
|
|
auth-cli = [ "clap" ]
|
|
|
|
[lib]
|
|
name = "file_service"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "file-service"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "auth-cli"
|
|
path = "src/bin/cli.rs"
|
|
required-features = [ "auth-cli" ]
|
|
|
|
[target.auth-cli.dependencies]
|
|
|
|
[dependencies]
|
|
build_html = { version = "2" }
|
|
bytes = { version = "1" }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
futures-util = { version = "0.3" }
|
|
hex-string = "0.1.0"
|
|
http = { version = "0.2" }
|
|
image = "0.23.5"
|
|
logger = "*"
|
|
log = { version = "0.4" }
|
|
mime = "0.3.16"
|
|
mime_guess = "2.0.3"
|
|
pretty_env_logger = { version = "0.5" }
|
|
serde_json = "*"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
sha2 = "0.10"
|
|
sqlx = { version = "0.7", features = [ "runtime-tokio", "sqlite" ] }
|
|
thiserror = "1.0.20"
|
|
tokio = { version = "1", features = [ "full" ] }
|
|
uuid = { version = "0.4", features = [ "serde", "v4" ] }
|
|
warp = { version = "0.3" }
|
|
base64ct = { version = "1", features = [ "alloc" ] }
|
|
clap = { version = "4", features = [ "derive" ], optional = true }
|
|
|
|
[dev-dependencies]
|
|
cool_asserts = { version = "2" }
|
|
tempdir = { version = "0.3" }
|
|
|