diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/Cargo.lock | 2 | ||||
-rw-r--r-- | server/Cargo.toml | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/server/Cargo.lock b/server/Cargo.lock index 6d6eb944..f91b665b 100644 --- a/server/Cargo.lock +++ b/server/Cargo.lock @@ -413,7 +413,6 @@ name = "attohttpc" version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "flate2 1.0.14 (registry+https://github.com/rust-lang/crates.io-index)", "http 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", "rustls 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2201,7 +2200,6 @@ name = "serde_json" version = "1.0.52" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "indexmap 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "itoa 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", "ryu 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.106 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/server/Cargo.toml b/server/Cargo.toml index 44ba1523..43933e53 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -4,16 +4,19 @@ version = "0.0.1" authors = ["Dessalines <tyhou13@gmx.com>"] edition = "2018" +[profile.release] +lto = true + [dependencies] diesel = { version = "1.4.2", features = ["postgres","chrono", "r2d2", "64-column-tables"] } diesel_migrations = "1.4.0" dotenv = "0.15.0" bcrypt = "0.7.0" activitypub = "0.2.0" -chrono = { version = "0.4.7", features = ["serde"] } +chrono = "0.4.7" failure = "0.1.8" -serde_json = { version = "1.0.52", features = ["preserve_order"]} -serde = { version = "1.0.105", features = ["derive"] } +serde_json = "1.0.52" +serde = "1.0.105" actix = "0.9.0" actix-web = "2.0.0" actix-files = "0.2.1" @@ -34,7 +37,7 @@ rss = "1.9.0" htmlescape = "0.3.1" config = {version = "0.10.1", default-features = false, features = ["hjson"] } percent-encoding = "2.1.0" -attohttpc = { version = "0.14.0", default-features = false, features = ["tls-rustls", "compress"] } +attohttpc = { version = "0.14.0", default-features = false, features = ["tls-rustls"] } comrak = "0.7" tokio = "0.2.20" futures = "0.3.4" |