diff --git a/Cargo.lock b/Cargo.lock index c3afa1ff5..b43194b52 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10,9 +10,9 @@ checksum = "8f27d075294830fcab6f66e320dab524bc6d048f4a151698e153205559113772" [[package]] name = "activitypub_federation" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce5c105760d36108026acde9cb779d8ef4714d5e551f248a9e8e0369b6671b78" +checksum = "cd8c76cad52a3d0f637f1f4ba06d96ac63c92512082f6a1ca86145b66a0a5371" dependencies = [ "activitystreams-kinds", "actix-web", @@ -2946,7 +2946,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34" dependencies = [ "cfg-if", - "windows-targets 0.48.5", + "windows-targets 0.52.6", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index 136dd127f..ce0aa0286 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -88,7 +88,7 @@ lemmy_api_common = { version = "=1.0.0-alpha.2", path = "./crates/api_common" } lemmy_routes = { version = "=1.0.0-alpha.2", path = "./crates/routes" } lemmy_db_views = { version = "=1.0.0-alpha.2", path = "./crates/db_views" } lemmy_federate = { version = "=1.0.0-alpha.2", path = "./crates/federate" } -activitypub_federation = { version = "0.6.2", default-features = false, features = [ +activitypub_federation = { version = "0.6.3", default-features = false, features = [ "actix-web", ] } diesel = "2.2.7" @@ -178,3 +178,8 @@ rustls = { workspace = true } tokio.workspace = true clap = { workspace = true } mimalloc = "0.1.43" + +# Speedup RSA key generation +# https://github.com/RustCrypto/RSA/blob/master/README.md#example +[profile.dev.package.num-bigint-dig] +opt-level = 3