dependencies = [
"chrono",
"mime",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"thiserror",
"url",
checksum = "bb8e19a0810cc25df3535061a08b7d8f8a734d309ea4411c57a9767e4a2ffa0e"
dependencies = [
"activitystreams",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
]
"pin-project",
"smallvec",
"tokio",
- "tokio-util 0.3.1",
+ "tokio-util",
"trust-dns-proto",
"trust-dns-resolver",
]
-[[package]]
-name = "actix-codec"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "09e55f0a5c2ca15795035d90c46bd0e73a5123b72f68f12596d6ba5282051380"
-dependencies = [
- "bitflags 1.2.1",
- "bytes",
- "futures-core",
- "futures-sink",
- "log",
- "tokio",
- "tokio-util 0.2.0",
-]
-
[[package]]
name = "actix-codec"
version = "0.3.0"
"log",
"pin-project",
"tokio",
- "tokio-util 0.3.1",
+ "tokio-util",
]
[[package]]
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "177837a10863f15ba8d3ae3ec12fac1099099529ed20083a27fdfe247381d0dc"
dependencies = [
- "actix-codec 0.3.0",
+ "actix-codec",
"actix-rt",
"actix-service",
- "actix-utils 2.0.0",
+ "actix-utils",
"derive_more",
"either",
"futures-util",
"http",
"log",
- "rustls",
- "tokio-rustls",
"trust-dns-proto",
"trust-dns-resolver",
- "webpki",
]
[[package]]
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05dd80ba8f27c4a34357c07e338c8f5c38f8520e6d626ca1727d8fecc41b0cab"
dependencies = [
- "actix-codec 0.3.0",
+ "actix-codec",
"actix-connect",
"actix-rt",
"actix-service",
"actix-threadpool",
- "actix-tls",
- "actix-utils 2.0.0",
+ "actix-utils",
"base64 0.12.3",
"bitflags 1.2.1",
"brotli2",
"pin-project",
"rand 0.7.3",
"regex",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"serde_urlencoded",
"sha-1 0.9.1",
"slab",
- "time 0.2.18",
+ "time 0.2.19",
]
[[package]]
"http",
"log",
"regex",
- "serde 1.0.115",
+ "serde 1.0.116",
]
[[package]]
[[package]]
name = "actix-server"
-version = "1.0.3"
+version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e6d74b464215a473c973a2d7d03a69cc10f4ce1f4b38a7659c5193dc5c675630"
+checksum = "45407e6e672ca24784baa667c5d32ef109ccdd8d5e0b5ebb9ef8a67f4dfb708e"
dependencies = [
- "actix-codec 0.2.0",
+ "actix-codec",
"actix-rt",
"actix-service",
- "actix-utils 1.0.6",
+ "actix-utils",
"futures-channel",
"futures-util",
"log",
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24789b7d7361cf5503a504ebe1c10806896f61e96eca9a7350e23001aca715fb"
dependencies = [
- "actix-codec 0.3.0",
+ "actix-codec",
"actix-service",
- "actix-utils 2.0.0",
+ "actix-utils",
"futures-util",
- "rustls",
- "tokio-rustls",
- "webpki",
- "webpki-roots",
-]
-
-[[package]]
-name = "actix-utils"
-version = "1.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fcf8f5631bf01adec2267808f00e228b761c60c0584cc9fa0b5364f41d147f4e"
-dependencies = [
- "actix-codec 0.2.0",
- "actix-rt",
- "actix-service",
- "bitflags 1.2.1",
- "bytes",
- "either",
- "futures",
- "log",
- "pin-project",
- "slab",
]
[[package]]
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e9022dec56632d1d7979e59af14f0597a28a830a9c1c7fec8b2327eb9f16b5a"
dependencies = [
- "actix-codec 0.3.0",
+ "actix-codec",
"actix-rt",
"actix-service",
"bitflags 1.2.1",
[[package]]
name = "actix-web"
-version = "3.0.1"
+version = "3.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cd7fc56022da91a4dc00ccae7d7bb82e539749ca36df181695f4efdf5d413b2e"
+checksum = "36de80175eb1f0a5c518024ce0d23646b54a23008279e090ca1848f6f1448bf4"
dependencies = [
- "actix-codec 0.3.0",
+ "actix-codec",
"actix-http",
"actix-macros",
"actix-router",
"actix-testing",
"actix-threadpool",
"actix-tls",
- "actix-utils 2.0.0",
+ "actix-utils",
"actix-web-codegen",
"awc",
"bytes",
"mime",
"pin-project",
"regex",
- "rustls",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"serde_urlencoded",
"socket2",
- "time 0.2.18",
+ "time 0.2.19",
"tinyvec",
"url",
]
checksum = "7f6edf3c2693e2a8c422800c87ee89a6a4eac7dd01109bc172a1093ce1f4f001"
dependencies = [
"actix",
- "actix-codec 0.3.0",
+ "actix-codec",
"actix-http",
"actix-web",
"bytes",
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71938f30533e4d95a6d17aa530939da3842c2ab6f4f84b9dae68447e4129f74a"
+[[package]]
+name = "async-mutex"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "66941c2577c4fa351e4ce5fdde8f86c69b88d623f3b955be1bc7362a23434632"
+dependencies = [
+ "event-listener",
+]
+
[[package]]
name = "async-trait"
version = "0.1.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "150e00c06683ab44c5f97d033950e5d87a7a042d06d77f5eecb443cbd23d0575"
dependencies = [
- "actix-codec 0.3.0",
+ "actix-codec",
"actix-http",
"actix-rt",
"actix-service",
"mime",
"percent-encoding",
"rand 0.7.3",
- "rustls",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"serde_urlencoded",
]
[[package]]
name = "background-jobs"
-version = "0.8.0-alpha.2"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb38c4a5de33324650e9023829b0f4129eb5418b29f5dfe69a52100ff5bc50d7"
+checksum = "c445edc4c6f8329385507bddd65491bfa3293f0a46a785119a14e526710ab320"
dependencies = [
"background-jobs-actix",
"background-jobs-core",
[[package]]
name = "background-jobs-actix"
-version = "0.8.0-alpha.2"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d012b9293806c777f806b537e04b5eec34ecd6eaf876c52792017695ce53262f"
+checksum = "d9696729d7b14c1682af423381744f317f7180136b4a2c8e4eca3a46e242f5fc"
dependencies = [
"actix-rt",
"anyhow",
+ "async-mutex",
"async-trait",
"background-jobs-core",
"chrono",
"log",
"num_cpus",
"rand 0.7.3",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"thiserror",
"tokio",
[[package]]
name = "background-jobs-core"
-version = "0.8.0-alpha.2"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bd5efe91c019d7780d5a2fc2f92a15e1f95b84a761428e1d1972b7428634ebc7"
+checksum = "b68ae77ec4330e8ac4ea643ce2f25d1e8d81509eb659e671b18f68d91939d72d"
dependencies = [
"actix-rt",
"anyhow",
+ "async-mutex",
"async-trait",
"chrono",
- "futures",
"log",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"thiserror",
"tokio",
dependencies = [
"num-integer",
"num-traits 0.2.12",
- "serde 1.0.115",
+ "serde 1.0.116",
"time 0.1.44",
]
dependencies = [
"lazy_static",
"nom 5.1.2",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde-hjson",
]
checksum = "1373a16a4937bc34efec7b391f9c1500c30b8478a701a4f44c9165cc0475a6e0"
dependencies = [
"percent-encoding",
- "time 0.2.18",
+ "time 0.2.19",
"version_check 0.9.2",
]
[[package]]
name = "derive_more"
-version = "0.99.9"
+version = "0.99.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "298998b1cf6b5b2c8a7b023dfd45821825ce3ba8a8af55c921a0e734e4653f76"
+checksum = "1dcfabdab475c16a93d669dddfc393027803e347d09663f524447f642fbb84ba"
dependencies = [
"proc-macro2",
"quote",
"termcolor",
]
+[[package]]
+name = "event-listener"
+version = "2.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e1cd41440ae7e4734bbd42302f63eaba892afc93a3912dad84006247f0dedb0e"
+
[[package]]
name = "fake-simd"
version = "0.1.2"
"indexmap",
"slab",
"tokio",
- "tokio-util 0.3.1",
+ "tokio-util",
"tracing",
]
"base64 0.12.3",
"pem",
"ring",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"simple_asn1",
]
"lemmy_db",
"lemmy_utils",
"log",
- "serde 1.0.115",
+ "serde 1.0.116",
]
[[package]]
"lazy_static",
"log",
"regex",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"sha2",
"strum",
"rand 0.7.3",
"reqwest",
"rss",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"sha2",
"strum",
"openssl",
"rand 0.7.3",
"regex",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"thiserror",
"url",
"log",
"native-tls",
"nom 4.2.3",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_derive",
"serde_json",
]
[[package]]
name = "miniz_oxide"
-version = "0.4.1"
+version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4d7559a8a40d0f97e1edea3220f698f78b1c5ab67532e49f68fde3910323b722"
+checksum = "c60c0dfe32c10b43a144bad8fc83538c52f58302c92300ea7ec7bf7b38d5a7b9"
dependencies = [
"adler",
+ "autocfg 1.0.1",
]
[[package]]
"native-tls",
"percent-encoding",
"pin-project-lite",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"serde_urlencoded",
"tokio",
"semver",
]
-[[package]]
-name = "rustls"
-version = "0.18.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5d1126dcf58e93cee7d098dbda643b5f92ed724f1f6a63007c1116eed6700c81"
-dependencies = [
- "base64 0.12.3",
- "log",
- "ring",
- "sct",
- "webpki",
-]
-
[[package]]
name = "ryu"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
-[[package]]
-name = "sct"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e3042af939fca8c3453b7af0f1c66e533a15a86169e39de2657310ade8f98d3c"
-dependencies = [
- "ring",
- "untrusted",
-]
-
[[package]]
name = "security-framework"
version = "0.4.4"
[[package]]
name = "serde"
-version = "1.0.115"
+version = "1.0.116"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e54c9a88f2da7238af84b5101443f0c0d0a3bbdc455e34a5c9497b1903ed55d5"
+checksum = "96fe57af81d28386a513cbc6858332abc6117cfdb5999647c6444b8f43a370a5"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.115"
+version = "1.0.116"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "609feed1d0a73cc36a0182a840a9b37b4a82f0b1150369f0536a9e3f2a31dc48"
+checksum = "f630a6370fd8e457873b4bd2ffdae75408bc291ba72be773772a4c2a065d9ae8"
dependencies = [
"proc-macro2",
"quote",
"indexmap",
"itoa",
"ryu",
- "serde 1.0.115",
+ "serde 1.0.116",
]
[[package]]
dependencies = [
"dtoa",
"itoa",
- "serde 1.0.115",
+ "serde 1.0.116",
"url",
]
dependencies = [
"proc-macro2",
"quote",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_derive",
"syn",
]
"base-x",
"proc-macro2",
"quote",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_derive",
"serde_json",
"sha1",
[[package]]
name = "syn"
-version = "1.0.40"
+version = "1.0.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "963f7d3cc59b59b9325165add223142bbf1df27655d07789f109896d353d8350"
+checksum = "6690e3e9f692504b941dc6c3b188fd28df054f7fb8469ab40680df52fdcc842b"
dependencies = [
"proc-macro2",
"quote",
[[package]]
name = "time"
-version = "0.2.18"
+version = "0.2.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12785163ae8a1cbb52a5db39af4a5baabd3fe49f07f76f952f89d7e89e5ce531"
+checksum = "80c1a1fd93112fc50b11c43a1def21f926be3c18884fad676ea879572da070a1"
dependencies = [
"const_fn",
"libc",
"winapi 0.3.9",
]
-[[package]]
-name = "tokio-rustls"
-version = "0.14.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e12831b255bcfa39dc0436b01e19fea231a37db570686c06ee72c423479f889a"
-dependencies = [
- "futures-core",
- "rustls",
- "tokio",
- "webpki",
-]
-
[[package]]
name = "tokio-tls"
version = "0.3.1"
"tokio",
]
-[[package]]
-name = "tokio-util"
-version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "571da51182ec208780505a32528fc5512a8fe1443ab960b3f2f3ef093cd16930"
-dependencies = [
- "bytes",
- "futures-core",
- "futures-sink",
- "log",
- "pin-project-lite",
- "tokio",
-]
-
[[package]]
name = "tokio-util"
version = "0.3.1"
"idna",
"matches",
"percent-encoding",
- "serde 1.0.115",
+ "serde 1.0.116",
]
[[package]]
checksum = "9fde2f6a4bea1d6e007c4ad38c6839fa71cbb63b6dbf5b595aa38dc9b1093c11"
dependencies = [
"rand 0.7.3",
- "serde 1.0.115",
+ "serde 1.0.116",
]
[[package]]
checksum = "1ac64ead5ea5f05873d7c12b545865ca2b8d28adfc50a49b84770a3a97265d42"
dependencies = [
"cfg-if",
- "serde 1.0.115",
+ "serde 1.0.116",
"serde_json",
"wasm-bindgen-macro",
]
"wasm-bindgen",
]
-[[package]]
-name = "webpki"
-version = "0.21.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ab146130f5f790d45f82aeeb09e55a256573373ec64409fc19a6fb82fb1032ae"
-dependencies = [
- "ring",
- "untrusted",
-]
-
-[[package]]
-name = "webpki-roots"
-version = "0.20.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f20dea7535251981a9670857150d571846545088359b28e4951d350bdaf179f"
-dependencies = [
- "webpki",
-]
-
[[package]]
name = "widestring"
version = "0.4.2"
lemmy_db = { path = "./lemmy_db" }
lemmy_api_structs = { path = "./lemmy_api_structs" }
lemmy_rate_limit = { path = "./lemmy_rate_limit" }
-diesel = "1.4.4"
-diesel_migrations = "1.4.0"
-dotenv = "0.15.0"
+diesel = "1.4"
+diesel_migrations = "1.4"
+dotenv = "0.15"
activitystreams = "0.7.0-alpha.4"
activitystreams-ext = "0.1.0-alpha.2"
-bcrypt = "0.8.0"
-chrono = { version = "0.4.7", features = ["serde"] }
-serde_json = { version = "1.0.52", features = ["preserve_order"]}
-serde = { version = "1.0.105", features = ["derive"] }
-actix = "0.10.0"
-actix-web = { version = "3.0.0", default-features = false, features = ["rustls"] }
-actix-files = { version = "0.3.0", default-features = false }
-actix-web-actors = { version = "3.0.0", default-features = false }
-actix-rt = { version = "1.1.1", default-features = false }
-awc = { version = "2.0.0", default-features = false }
-log = "0.4.0"
-env_logger = "0.7.1"
-rand = "0.7.3"
-strum = "0.19.2"
-strum_macros = "0.19.2"
-jsonwebtoken = "7.0.1"
-lazy_static = "1.3.0"
-rss = "1.9.0"
-url = { version = "2.1.1", features = ["serde"] }
-percent-encoding = "2.1.0"
+bcrypt = "0.8"
+chrono = { version = "0.4", features = ["serde"] }
+serde_json = { version = "1.0", features = ["preserve_order"]}
+serde = { version = "1.0", features = ["derive"] }
+actix = "0.10"
+actix-web = { version = "3.0", default-features = false }
+actix-files = { version = "0.3", default-features = false }
+actix-web-actors = { version = "3.0", default-features = false }
+actix-rt = { version = "1.1", default-features = false }
+awc = { version = "2.0", default-features = false }
+log = "0.4"
+env_logger = "0.7"
+rand = "0.7"
+strum = "0.19"
+strum_macros = "0.19"
+jsonwebtoken = "7.0"
+lazy_static = "1.3"
+rss = "1.9"
+url = { version = "2.1", features = ["serde"] }
+percent-encoding = "2.1"
openssl = "0.10"
-http = "0.2.1"
-http-signature-normalization-actix = { version = "0.4.0", default-features = false, features = ["sha-2"] }
-base64 = "0.12.1"
-tokio = "0.2.21"
-futures = "0.3.5"
-itertools = "0.9.0"
+http = "0.2"
+http-signature-normalization-actix = { version = "0.4", default-features = false, features = ["sha-2"] }
+base64 = "0.12"
+tokio = "0.2"
+futures = "0.3"
+itertools = "0.9"
uuid = { version = "0.8", features = ["serde", "v4"] }
sha2 = "0.9"
-async-trait = "0.1.40"
-captcha = "0.0.7"
-anyhow = "1.0.32"
-thiserror = "1.0.20"
-background-jobs = " 0.8.0-alpha.2"
+async-trait = "0.1"
+captcha = "0.0"
+anyhow = "1.0"
+thiserror = "1.0"
+background-jobs = " 0.8"
reqwest = { version = "0.10", features = ["json"] }
[dev-dependencies.cargo-husky]
[dependencies]
lemmy_db = { path = "../lemmy_db" }
lemmy_utils = { path = "../lemmy_utils" }
-serde = { version = "1.0.105", features = ["derive"] }
-log = "0.4.0"
-diesel = "1.4.4"
-actix-web = { version = "3.0.0-beta.3", features = ["rustls"] }
+serde = { version = "1.0", features = ["derive"] }
+log = "0.4"
+diesel = "1.4"
+actix-web = { version = "3.0" }
path = "src/lib.rs"
[dependencies]
-diesel = { version = "1.4.4", features = ["postgres","chrono","r2d2","64-column-tables","serde_json"] }
-chrono = { version = "0.4.7", features = ["serde"] }
-serde = { version = "1.0.105", features = ["derive"] }
-serde_json = { version = "1.0.52", features = ["preserve_order"]}
-strum = "0.19.2"
-strum_macros = "0.19.2"
-log = "0.4.0"
+diesel = { version = "1.4", features = ["postgres","chrono","r2d2","64-column-tables","serde_json"] }
+chrono = { version = "0.4", features = ["serde"] }
+serde = { version = "1.0", features = ["derive"] }
+serde_json = { version = "1.0", features = ["preserve_order"]}
+strum = "0.19"
+strum_macros = "0.19"
+log = "0.4"
sha2 = "0.9"
-bcrypt = "0.8.2"
-url = { version = "2.1.1", features = ["serde"] }
-lazy_static = "1.3.0"
-regex = "1.3.5"
+bcrypt = "0.8"
+url = { version = "2.1", features = ["serde"] }
+lazy_static = "1.3"
+regex = "1.3"
[dependencies]
lemmy_utils = { path = "../lemmy_utils" }
-tokio = "0.2.21"
-strum = "0.19.2"
-strum_macros = "0.19.2"
+tokio = "0.2"
+strum = "0.19"
+strum_macros = "0.19"
futures = "0.3.5"
-actix-web = { version = "3.0.0", default-features = false, features = ["rustls"] }
-log = "0.4.0"
+actix-web = { version = "3.0", default-features = false }
+log = "0.4"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-regex = "1.3.5"
-config = { version = "0.10.1", default-features = false, features = ["hjson"] }
-chrono = { version = "0.4.15", features = ["serde"] }
-lettre = "0.9.3"
-lettre_email = "0.9.4"
-log = "0.4.0"
-itertools = "0.9.0"
-rand = "0.7.3"
-serde = { version = "1.0.115", features = ["derive"] }
-serde_json = { version = "1.0.52", features = ["preserve_order"]}
-thiserror = "1.0.20"
-comrak = "0.8.2"
-lazy_static = "1.3.0"
+regex = "1.3"
+config = { version = "0.10", default-features = false, features = ["hjson"] }
+chrono = { version = "0.4", features = ["serde"] }
+lettre = "0.9"
+lettre_email = "0.9"
+log = "0.4"
+itertools = "0.9"
+rand = "0.7"
+serde = { version = "1.0", features = ["derive"] }
+serde_json = { version = "1.0", features = ["preserve_order"]}
+thiserror = "1.0"
+comrak = "0.8"
+lazy_static = "1.3"
openssl = "0.10"
-url = { version = "2.1.1", features = ["serde"] }
-actix-web = {version = "3.0.0", default-features = false }
-anyhow = "1.0.32"
+url = { version = "2.1", features = ["serde"] }
+actix-web = {version = "3.0", default-features = false }
+anyhow = "1.0"