|
@@ -1,7 +1,7 @@
|
|
|
[package]
|
|
|
-name="microbin"
|
|
|
-version="1.1.0"
|
|
|
-edition="2021"
|
|
|
+name = "microbin"
|
|
|
+version = "1.1.0"
|
|
|
+edition = "2021"
|
|
|
authors = ["Daniel Szabo <daniel.szabo99@outlook.com>"]
|
|
|
license = "BSD-3-Clause"
|
|
|
description = "Simple, performant, configurable, entirely self-contained Pastebin and URL shortener."
|
|
@@ -11,20 +11,18 @@ repository = "https://github.com/szabodanika/microbin"
|
|
|
keywords = ["pastebin", "pastabin", "microbin", "actix", "selfhosted"]
|
|
|
categories = ["pastebins"]
|
|
|
|
|
|
-
|
|
|
-
|
|
|
[dependencies]
|
|
|
-actix-web="4"
|
|
|
-actix-files="0.6.0"
|
|
|
-serde={ version = "1.0", features = ["derive"] }
|
|
|
+actix-web = "4"
|
|
|
+actix-files = "0.6.0"
|
|
|
+serde = { version = "1.0", features = ["derive"] }
|
|
|
serde_json = "1.0.80"
|
|
|
bytesize = { version = "1.1", features = ["serde"] }
|
|
|
-askama="0.10"
|
|
|
-askama-filters={ version = "0.1.3", features = ["chrono"] }
|
|
|
-chrono="0.4.19"
|
|
|
-rand="0.8.5"
|
|
|
-linkify="0.8.1"
|
|
|
-clap={ version = "3.1.12", features = ["derive", "env"] }
|
|
|
+askama = "0.10"
|
|
|
+askama-filters = { version = "0.1.3", features = ["chrono"] }
|
|
|
+chrono = "0.4.19"
|
|
|
+rand = "0.8.5"
|
|
|
+linkify = "0.8.1"
|
|
|
+clap = { version = "3.1.12", features = ["derive", "env"] }
|
|
|
actix-multipart = "0.4.0"
|
|
|
futures = "0.3"
|
|
|
sanitize-filename = "0.3.0"
|
|
@@ -34,3 +32,6 @@ actix-web-httpauth = "0.6.0"
|
|
|
lazy_static = "1.4.0"
|
|
|
syntect = "5.0"
|
|
|
|
|
|
+[profile.release]
|
|
|
+lto = true
|
|
|
+strip = true
|