gourami

[UNMAINTAINED] Activitypub server in Rust
Log | Files | Refs | README | LICENSE

commit 09818918f1f68a5368e21df6ca7353d8560fc886
parent 2ad17cd995f35862a65bfba91fe5d5f101681243
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon, 15 Jun 2020 15:07:08 -0500

Fix dependencies

add static openssl option (useful for cross compiling)
update warp to latest version

Diffstat:
MCargo.lock | 42+++++++++++++-----------------------------
MCargo.toml | 8+++++---
2 files changed, 18 insertions(+), 32 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock @@ -1,32 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. [[package]] -name = "activitystreams" -version = "0.6.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "464cb473bfb402b857cc15b1153974c203a43f1485da4dda15cd17a738548958" -dependencies = [ - "activitystreams-derive", - "chrono", - "mime 0.3.16", - "serde", - "serde_json", - "thiserror", - "url", -] - -[[package]] -name = "activitystreams-derive" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c39ba5929399e9f921055bac76dd8f47419fa5b6b6da1ac4c1e82b94ed0ac7b4" -dependencies = [ - "proc-macro2 1.0.12", - "quote 1.0.5", - "syn 1.0.21", -] - -[[package]] name = "aho-corasick" version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -651,7 +625,6 @@ dependencies = [ name = "gourami" version = "0.1.7" dependencies = [ - "activitystreams", "ammonia", "askama", "base64 0.12.1", @@ -1233,6 +1206,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de" [[package]] +name = "openssl-src" +version = "111.10.0+1.1.1g" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "47cd4a96d49c3abf4cac8e8a80cba998a030c75608f158fb1c5f609772f265e6" +dependencies = [ + "cc", +] + +[[package]] name = "openssl-sys" version = "0.9.56" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1241,6 +1223,7 @@ dependencies = [ "autocfg 1.0.0", "cc", "libc", + "openssl-src", "pkg-config", "vcpkg", ] @@ -2294,8 +2277,9 @@ dependencies = [ [[package]] name = "warp" -version = "0.2.2" -source = "git+https://github.com/seanmonstar/warp.git?rev=497505a5#497505a50508ec15dbfdc984c24026f957f28738" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0e95175b7a927258ecbb816bdada3cc469cb68593e7940b96a60f4af366a9970" dependencies = [ "bytes", "futures", diff --git a/Cargo.toml b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gourami" -version = "0.1.7" +version = "0.1.9" authors = ["alex wennerberg <alex@alexwennerberg.com>"] edition = "2018" @@ -32,7 +32,9 @@ serde_urlencoded = "0.6.1" tokio = { version = "0.2.18", features = ["macros", "time", "sync"] } url = "2.1.1" uuid = { version = "0.8", features = ["v4"]} -warp = {git = "https://github.com/seanmonstar/warp.git", rev = "497505a5", features = ["tls"]} +warp = {version="0.2.3", features = ["tls"]} zxcvbn = "2.0.1" -[dev-dependencies] + +[features] +vendored-openssl = ['openssl/vendored']