f42420809b
* Expose LemmyErrorType in lemmy_api_common * Make conditional compilation gates for utils * Make it so api_common doesn't pull in unnecessary deps * Make error type non exhaustive * Fix formatting * Format toml * Add some convenience derives to LemmyError * Simplify features * Fix CI compile error --------- Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
45 lines
1.3 KiB
TOML
45 lines
1.3 KiB
TOML
[package]
|
|
name = "lemmy_api"
|
|
publish = false
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
documentation.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
name = "lemmy_api"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
lemmy_utils = { workspace = true, features = ["default"] }
|
|
lemmy_db_schema = { workspace = true, features = ["full"] }
|
|
lemmy_db_views = { workspace = true, features = ["full"] }
|
|
lemmy_db_views_moderator = { workspace = true, features = ["full"] }
|
|
lemmy_db_views_actor = { workspace = true, features = ["full"] }
|
|
lemmy_api_common = { workspace = true, features = ["full"] }
|
|
activitypub_federation = { workspace = true }
|
|
bcrypt = { workspace = true }
|
|
actix-web = { workspace = true }
|
|
base64 = { workspace = true }
|
|
captcha = { workspace = true }
|
|
anyhow = { workspace = true }
|
|
tracing = { workspace = true }
|
|
chrono = { workspace = true }
|
|
url = { workspace = true }
|
|
wav = "1.0.0"
|
|
sitemap-rs = "0.2.0"
|
|
totp-rs = { version = "5.5.1", features = ["gen_secret", "otpauth"] }
|
|
actix-web-httpauth = "0.8.1"
|
|
|
|
[dev-dependencies]
|
|
serial_test = { workspace = true }
|
|
tokio = { workspace = true }
|
|
elementtree = "1.2.3"
|
|
pretty_assertions = { workspace = true }
|