-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
71 lines (64 loc) · 1.88 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[package]
name = "dicom-rst"
version = "0.3.0-beta.1"
description = "A robust DICOMweb server with swappable backend"
edition = "2021"
rust-version = "1.74.0"
categories = ["multimedia", "network-programming", "web-programming::http-server"]
keywords = ["dicom", "dicomweb", "healthcare", "medical"]
repository = "https://github.com/UMEssen/DICOM-RST"
license = "MIT"
readme = "README.md"
[features]
default = ["dimse", "s3"]
dimse = []
# TODO: feature-gate S3 dependencies
s3 = []
[dependencies]
# DICOM processing
dicom = "0.8.0"
dicom-json = "0.8.0"
sentry = { version = "0.35.0", features = ["tracing"] }
# Serialization
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.133"
# Logging
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
# Convenient error handling
thiserror = "2.0.6"
anyhow = "1.0.94"
tokio = { version = "1.42.0", features = ["full"] }
config = { version = "0.14.1", features = ["toml"] }
axum = { version = "0.7.9", features = ["multipart", "macros"] }
axum-extra = { version = "0.9.6", features = ["query"] }
axum-streams = { version = "0.19.0", features = ["json"] }
futures = "0.3.31"
mime = "0.3.17"
tower-http = { version = "0.6.2", features = ["trace", "cors", "timeout"] }
tower = { version = "0.5.1", features = ["limit"] }
async-trait = "0.1.83"
async-stream = "0.3.6"
uuid = { version = "1.11.0", features = ["v4"] }
bytes = "1.9.0"
multer = "3.1.0"
pin-project = "1.1.7"
# S3 backend
aws-config = { version = "1.5.10", features = ["behavior-version-latest"] }
aws-sdk-s3 = "1.65.0"
aws-credential-types = "1.2.1"
[lints.rust]
unsafe_code = "forbid"
renamed_and_removed_lints = "allow"
async-fn-in-trait = "allow"
[lints.clippy]
pedantic = "warn"
nursery = "warn"
cargo = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[profile.release]
codegen-units = 1
lto = "fat"
opt-level = 3
strip = "debuginfo"