Update actix

This commit is contained in:
silverpill 2023-04-15 13:28:09 +00:00
parent 01a340f326
commit a5213bea5d
8 changed files with 187 additions and 201 deletions

View file

@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Make activity limit in outbox fetcher adjustable. - Make activity limit in outbox fetcher adjustable.
- Changed `reset-subscriptions` command arguments (removes subscription options by default). - Changed `reset-subscriptions` command arguments (removes subscription options by default).
- Return error if specified Monero account doesn't exist. - Return error if specified Monero account doesn't exist.
- Updated actix to latest version. MSRV changed to 1.57.
### Fixed ### Fixed

369
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,7 @@ description = "Federated micro-blogging platform and content subscription servic
license = "AGPL-3.0" license = "AGPL-3.0"
edition = "2021" edition = "2021"
rust-version = "1.56" rust-version = "1.57"
publish = false publish = false
default-run = "mitra" default-run = "mitra"
@ -31,9 +31,9 @@ mitra-models = { path = "mitra-models" }
mitra-utils = { path = "mitra-utils" } mitra-utils = { path = "mitra-utils" }
# Used to handle incoming HTTP requests # Used to handle incoming HTTP requests
actix-cors = "0.6.2" actix-cors = "0.6.4"
actix-files = "0.6.2" actix-files = "0.6.2"
actix-web = "4.1.0" actix-web = "4.3.1"
actix-web-httpauth = "0.8.0" actix-web-httpauth = "0.8.0"
# Used for catching errors # Used for catching errors
anyhow = "1.0.58" anyhow = "1.0.58"
@ -72,7 +72,7 @@ siwe = "0.4.0"
# Used for creating error types # Used for creating error types
thiserror = "1.0.37" thiserror = "1.0.37"
# Async runtime # Async runtime
tokio = { version = "1.20.4", features = ["macros"] } tokio = { version = "=1.20.4", features = ["macros"] }
# Used to work with URLs # Used to work with URLs
url = "2.2.2" url = "2.2.2"
# Used to work with UUIDs # Used to work with UUIDs

View file

@ -36,7 +36,7 @@ Ethereum contracts: https://codeberg.org/silverpill/mitra-contracts
## Requirements ## Requirements
- Rust 1.56+ (when building from source) - Rust 1.57+ (when building from source)
- PostgreSQL 12+ - PostgreSQL 12+
Optional: Optional:

View file

@ -3,7 +3,7 @@ name = "mitra-cli"
version = "1.21.0" version = "1.21.0"
license = "AGPL-3.0" license = "AGPL-3.0"
edition = "2021" edition = "2021"
rust-version = "1.56" rust-version = "1.57"
[[bin]] [[bin]]
name = "mitractl" name = "mitractl"

View file

@ -3,7 +3,7 @@ name = "mitra-config"
version = "1.21.0" version = "1.21.0"
license = "AGPL-3.0" license = "AGPL-3.0"
edition = "2021" edition = "2021"
rust-version = "1.56" rust-version = "1.57"
[dependencies] [dependencies]
mitra-utils = { path = "../mitra-utils" } mitra-utils = { path = "../mitra-utils" }

View file

@ -3,7 +3,7 @@ name = "mitra-models"
version = "1.21.0" version = "1.21.0"
license = "AGPL-3.0" license = "AGPL-3.0"
edition = "2021" edition = "2021"
rust-version = "1.56" rust-version = "1.57"
[dependencies] [dependencies]
mitra-utils = { path = "../mitra-utils" } mitra-utils = { path = "../mitra-utils" }

View file

@ -3,7 +3,7 @@ name = "mitra-utils"
version = "1.21.0" version = "1.21.0"
license = "AGPL-3.0" license = "AGPL-3.0"
edition = "2021" edition = "2021"
rust-version = "1.56" rust-version = "1.57"
[dependencies] [dependencies]
# Used for HTML sanitization # Used for HTML sanitization