# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "lemmy_apub" version = "0.19.1-rc.1" description = "A link aggregator for the fediverse" homepage = "https://join-lemmy.org/" documentation = "https://join-lemmy.org/docs/en/index.html" license = "AGPL-3.0" repository = "https://github.com/LemmyNet/lemmy" [lib] name = "lemmy_apub" path = "src/lib.rs" doctest = false [dependencies.activitypub_federation] version = "0.5.0-beta.6" features = ["actix-web"] default-features = false [dependencies.actix-web] version = "4.4.0" features = [ "macros", "rustls", "compress-brotli", "compress-gzip", "compress-zstd", "cookies", ] default-features = false [dependencies.anyhow] version = "1.0.75" features = ["backtrace"] [dependencies.async-trait] version = "0.1.74" [dependencies.chrono] version = "0.4.31" features = ["serde"] default-features = false [dependencies.diesel] version = "2.1.4" [dependencies.enum_delegate] version = "0.2.0" [dependencies.futures] version = "0.3.29" [dependencies.html2md] version = "0.2.14" [dependencies.html2text] version = "0.6.0" [dependencies.http] version = "0.2.11" [dependencies.itertools] version = "0.12.0" [dependencies.lemmy_api_common] version = "=0.19.1-rc.1" features = ["full"] [dependencies.lemmy_db_schema] version = "=0.19.1-rc.1" features = ["full"] [dependencies.lemmy_db_views] version = "=0.19.1-rc.1" features = ["full"] [dependencies.lemmy_db_views_actor] version = "=0.19.1-rc.1" features = ["full"] [dependencies.lemmy_utils] version = "=0.19.1-rc.1" [dependencies.moka] version = "0.12.1" features = ["future"] [dependencies.once_cell] version = "1.19.0" [dependencies.reqwest] version = "0.11.22" features = [ "json", "blocking", "gzip", ] [dependencies.serde] version = "1.0.193" features = ["derive"] [dependencies.serde_json] version = "1.0.108" features = ["preserve_order"] [dependencies.serde_with] version = "3.4.0" [dependencies.stringreader] version = "0.1.1" [dependencies.strum_macros] version = "0.25.3" [dependencies.tokio] version = "1.35.0" features = ["full"] [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "2.5.0" features = ["serde"] [dependencies.uuid] version = "1.6.1" features = [ "serde", "v4", ] [dev-dependencies.assert-json-diff] version = "2.0.2" [dev-dependencies.reqwest-middleware] version = "0.2.4" [dev-dependencies.serial_test] version = "2.0.0" [dev-dependencies.task-local-extensions] version = "0.1.4" [lints.clippy] cast_lossless = "deny" complexity = "deny" correctness = "deny" dbg_macro = "deny" explicit_into_iter_loop = "deny" explicit_iter_loop = "deny" get_first = "deny" implicit_clone = "deny" indexing_slicing = "deny" inefficient_to_string = "deny" items-after-statements = "deny" manual_string_new = "deny" needless_collect = "deny" perf = "deny" redundant_closure_for_method_calls = "deny" style = "deny" suspicious = "deny" uninlined_format_args = "allow" unused_self = "deny" unwrap_used = "deny"