2021-04-09 00:22:17 +00:00
|
|
|
[package]
|
2023-04-25 13:49:35 +00:00
|
|
|
name = "fedimovies"
|
2023-04-22 13:31:40 +00:00
|
|
|
version = "1.22.0"
|
2023-04-25 13:49:35 +00:00
|
|
|
description = "Movies reviews and ratings for the fediverse"
|
2021-04-09 00:22:17 +00:00
|
|
|
license = "AGPL-3.0"
|
|
|
|
|
2022-12-15 16:58:18 +00:00
|
|
|
edition = "2021"
|
2023-04-25 11:19:04 +00:00
|
|
|
rust-version = "1.68"
|
2021-04-09 00:22:17 +00:00
|
|
|
publish = false
|
2023-04-25 13:49:35 +00:00
|
|
|
default-run = "fedimovies"
|
2021-04-09 00:22:17 +00:00
|
|
|
|
2023-01-17 21:48:59 +00:00
|
|
|
[workspace]
|
|
|
|
members = [
|
|
|
|
".",
|
2023-04-25 13:49:35 +00:00
|
|
|
"fedimovies-cli",
|
|
|
|
"fedimovies-config",
|
|
|
|
"fedimovies-models",
|
|
|
|
"fedimovies-utils",
|
2023-01-17 21:48:59 +00:00
|
|
|
]
|
|
|
|
default-members = [
|
2023-02-06 00:35:31 +00:00
|
|
|
".",
|
2023-04-25 13:49:35 +00:00
|
|
|
"fedimovies-cli",
|
|
|
|
"fedimovies-config",
|
|
|
|
"fedimovies-models",
|
|
|
|
"fedimovies-utils",
|
2023-01-17 21:48:59 +00:00
|
|
|
]
|
|
|
|
|
2021-04-09 00:22:17 +00:00
|
|
|
[dependencies]
|
2023-04-25 13:49:35 +00:00
|
|
|
fedimovies-config = { path = "fedimovies-config" }
|
|
|
|
fedimovies-models = { path = "fedimovies-models" }
|
|
|
|
fedimovies-utils = { path = "fedimovies-utils" }
|
2023-02-18 22:25:49 +00:00
|
|
|
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used to handle incoming HTTP requests
|
2023-04-15 13:28:09 +00:00
|
|
|
actix-cors = "0.6.4"
|
2022-08-18 18:05:18 +00:00
|
|
|
actix-files = "0.6.2"
|
2023-04-15 13:28:09 +00:00
|
|
|
actix-web = "4.3.1"
|
2022-08-18 18:05:18 +00:00
|
|
|
actix-web-httpauth = "0.8.0"
|
2022-06-20 20:26:43 +00:00
|
|
|
# Used for catching errors
|
|
|
|
anyhow = "1.0.58"
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used for working with RSA keys, HTTP signatures and file uploads
|
|
|
|
base64 = "0.13.0"
|
|
|
|
# Used for working with dates
|
2022-12-03 19:32:36 +00:00
|
|
|
chrono = { version = "0.4.23", default-features = false, features = ["std", "serde"] }
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used to work with hexadecimal strings
|
2022-04-16 19:33:47 +00:00
|
|
|
hex = { version = "0.4.3", features = ["serde"] }
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used for logging
|
2023-02-18 23:52:48 +00:00
|
|
|
log = "0.4.14"
|
2021-12-21 00:14:12 +00:00
|
|
|
env_logger = { version = "0.9.0", default-features = false }
|
2022-11-10 10:13:03 +00:00
|
|
|
# Used to verify minisign signatures
|
|
|
|
ed25519-dalek = "1.0.1"
|
2023-03-07 23:45:49 +00:00
|
|
|
ed25519 = "1.5.3"
|
2022-12-15 17:50:03 +00:00
|
|
|
blake2 = "0.10.5"
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used to determine the number of CPUs on the system
|
|
|
|
num_cpus = "1.13.0"
|
|
|
|
# Used for working with regular expressions
|
2022-08-17 18:37:45 +00:00
|
|
|
regex = "1.6.0"
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used for making async HTTP requests
|
2023-03-07 23:45:49 +00:00
|
|
|
reqwest = { version = "0.11.13", features = ["json", "multipart", "socks"] }
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used for working with RSA keys
|
|
|
|
rsa = "0.5.0"
|
|
|
|
# Used for serialization/deserialization
|
2022-04-08 18:52:13 +00:00
|
|
|
serde = { version = "1.0.136", features = ["derive"] }
|
2022-12-15 21:20:07 +00:00
|
|
|
serde_json = "1.0.89"
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used to calculate SHA2 hashes
|
|
|
|
sha2 = "0.9.5"
|
2022-02-09 00:09:08 +00:00
|
|
|
# Used to verify EIP-4361 signatures
|
2022-12-03 18:52:12 +00:00
|
|
|
siwe = "0.4.0"
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used for creating error types
|
2022-10-06 14:43:28 +00:00
|
|
|
thiserror = "1.0.37"
|
2022-04-08 18:52:13 +00:00
|
|
|
# Async runtime
|
2023-04-15 13:28:09 +00:00
|
|
|
tokio = { version = "=1.20.4", features = ["macros"] }
|
2021-04-09 00:22:17 +00:00
|
|
|
# Used to work with URLs
|
|
|
|
url = "2.2.2"
|
|
|
|
# Used to work with UUIDs
|
2022-08-18 00:41:29 +00:00
|
|
|
uuid = { version = "1.1.2", features = ["serde", "v4"] }
|
2022-01-06 11:09:45 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-04-25 13:49:35 +00:00
|
|
|
fedimovies-config = { path = "fedimovies-config", features = ["test-utils"] }
|
|
|
|
fedimovies-models = { path = "fedimovies-models", features = ["test-utils"] }
|
|
|
|
fedimovies-utils = { path = "fedimovies-utils", features = ["test-utils"] }
|
2023-03-08 23:16:42 +00:00
|
|
|
|
2022-12-15 21:20:07 +00:00
|
|
|
serial_test = "0.7.0"
|
2022-05-04 19:44:38 +00:00
|
|
|
|
|
|
|
[features]
|
2023-04-25 13:49:35 +00:00
|
|
|
production = ["fedimovies-config/production"]
|