Files
ImageApi/Cargo.toml
Cameron Cordes eccb45ced0 Use Absolutize for files that do not exist
Canonicalize relies on the file existing to resolve the potential
traversal, which won't work for file upload in case the file name has a
traversal inside it.
2020-10-17 19:22:55 -04:00

30 lines
624 B
TOML

[package]
name = "image-api"
version = "0.1.0"
authors = ["Cameron Cordes <cameronc.dev@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "3.0"
actix-rt = "1.0"
actix-files = "0.3.0"
actix-multipart = "0.3.0"
futures = "0.3.5"
jsonwebtoken = "7.2.0"
serde = "1.0"
serde_json = "1.0"
diesel = { version = "1.4.4", features = ["sqlite"] }
hmac = "0.7.1"
sha2 = "0.8.2"
chrono = "0.4.11"
dotenv = "0.15"
bcrypt = "0.8.1"
image = "0.23.7"
walkdir = "2"
rayon = "1.3"
notify = "4.0"
tokio = "0.2"
path-absolutize = "3.0.6"