# 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_api" 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_api" 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.actix-web-httpauth] version = "0.8.1" [dependencies.anyhow] version = "1.0.75" features = ["backtrace"] [dependencies.base64] version = "0.21.5" [dependencies.bcrypt] version = "0.15.0" [dependencies.captcha] version = "0.0.9" [dependencies.chrono] version = "0.4.31" features = ["serde"] default-features = false [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_db_views_moderator] version = "=0.19.1-rc.1" features = ["full"] [dependencies.lemmy_utils] version = "=0.19.1-rc.1" [dependencies.sitemap-rs] version = "0.2.0" [dependencies.totp-rs] version = "5.4.0" features = [ "gen_secret", "otpauth", ] [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "2.5.0" features = ["serde"] [dependencies.wav] version = "1.0.0" [dev-dependencies.elementtree] version = "1.2.3" [dev-dependencies.serial_test] version = "2.0.0" [dev-dependencies.tokio] version = "1.35.0" features = ["full"] [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"