-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
51 lines (47 loc) · 1.41 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "fshare"
version = "0.1.1"
authors = ["nuno <nuno@nunum.me>"]
edition = "2018"
readme = "README.md"
description = "MyShare service"
homepage = "https://github.com/NunuM/myshare-wetransfer"
repository = "https://github.com/NunuM/myshare-wetransfer"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "3"
actix-multipart = "0.3"
sanitize-filename = "0.3.0"
tera = "1.12.1"
serde = { version = "1.0", features = ["derive"] }
futures = "0.3.17"
actix-files = "0.5.0"
zip = "0.5.12"
rand = "0.8.4"
log = "0.4.14"
env_logger = "0.9.0"
chrono = "0.4.19"
base64 = "0.21.2"
rust-ini="0.15.2"
[target.'cfg(target_os = "linux")'.dependencies]
pam = "0.7.0"
[package.metadata.deb]
maintainer = "Nuno Goncalves <nuno.goncalves@talos.sh>"
copyright = "2023, NunuM <nuno@nunum.me>"
license-file = ["LICENSE", "2"]
changelog="CHANGELOG.md"
extended-description = """\
MyShare is a service like WeTransfer, \
but for personal use."""
depends = "$auto"
section = "web"
priority = "optional"
assets = [
["target/release/fshare", "opt/fshare/", "755"],
["templates/*", "opt/fshare/templates", "644"],
["README.md", "usr/share/doc/fshare/", "644"],
["config.ini", "opt/fshare/", "644"],
["users.txt", "opt/fshare/", "644"],
]
maintainer-scripts = "pkg/debian/"
systemd-units = { unit-name = "fshare", unit-scripts = "pkg/common", enable = false }