-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
61 lines (49 loc) · 1.9 KB
/
Copy pathCargo.toml
File metadata and controls
61 lines (49 loc) · 1.9 KB
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
[workspace]
members = ["tools/benchmark"]
resolver = "2"
[package]
name = "perspecta"
version = "0.5.3"
edition = "2021"
rust-version = "1.95"
repository = "https://github.com/timcogan/perspecta"
autobins = false
default-run = "perspecta"
[features]
default = ["jpeg2000"]
jpeg_ls = ["dicom-pixeldata/charls"]
jpeg2000 = ["dicom-pixeldata/openjp2"]
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
anyhow = "1.0"
dicom-core = "0.10.0"
dicom-object = "0.10.0"
dicom-pixeldata = { version = "0.10.0", default-features = false, features = ["deflate", "jpeg", "rle"] }
log = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
dicom-pixeldata = { version = "0.10.0", default-features = false, features = ["rayon"] }
reqwest = { version = "0.12", default-features = false, features = ["blocking", "rustls-tls"] }
rfd = "0.17"
[target.'cfg(target_arch = "wasm32")'.dependencies]
eframe = { version = "0.36.1", default-features = false, features = ["default_fonts", "glow", "web_screen_reader"] }
js-sys = "0.3"
rfd = { version = "0.17", default-features = false, features = ["file-handle-inner"] }
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
web-sys = { version = "0.3", features = ["Blob", "Document", "Element", "File", "HtmlCanvasElement", "Location", "MessageChannel", "MessagePort", "Window"] }
web-time = "1.1"
[target.'cfg(windows)'.dependencies]
eframe = { version = "0.36.1", default-features = false, features = ["accesskit", "default_fonts", "glow"] }
[target.'cfg(target_os = "linux")'.dependencies]
eframe = { version = "0.36.1", default-features = false, features = ["accesskit", "default_fonts", "glow", "wayland", "x11"] }
[target.'cfg(not(any(windows, target_os = "linux", target_arch = "wasm32")))'.dependencies]
eframe = "0.36.1"
[dev-dependencies]
dicom-encoding = "0.10.0"
dicom-transfer-syntax-registry = "0.10.0"
[[bin]]
name = "perspecta"
path = "src/main.rs"
[profile.dist]
inherits = "release"