-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
148 lines (136 loc) · 3.78 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
[package]
name = "ascom-alpaca"
version = "1.0.0-beta.3"
edition = "2021"
authors = ["Ingvar Stepanyan <[email protected]>"]
categories = ["api-bindings", "science", "hardware-support"]
keywords = ["ascom", "alpaca", "astronomy", "astrophotography"]
description = "Rust implementation of the ASCOM Alpaca API for astronomy devices"
repository = "https://github.com/RReverser/ascom-alpaca-rs"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
async-trait = "0.1.81"
custom_debug = "0.6.1"
eyre = "0.6.12"
futures = "0.3.30"
ndarray = { version = "0.16.1" }
tokio = "1.40.0"
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
[dependencies]
async-fn-stream = { version = "0.2.2", optional = true }
async-trait = { workspace = true }
axum = { version = "0.7.5", optional = true }
bytemuck = { version = "1.17.1", features = [
"derive",
"extern_crate_std",
], optional = true }
bytes = { version = "1.7.1", optional = true }
criterion = { version = "0.5.1", optional = true }
custom_debug = { workspace = true }
netdev = { version = "0.30.0" }
eyre = { workspace = true }
futures = { workspace = true }
http = { version = "1.1.0", optional = true }
indexmap = { version = "2.5.0", features = ["serde"], optional = true }
macro_rules_attribute = "0.2.0"
mediatype = { version = "0.19.18", optional = true }
mime = { version = "0.3.17", optional = true }
ndarray = { workspace = true, optional = true }
net-literals = "0.2.0"
num_enum = "0.7.3"
once_cell = { version = "1.19.0", optional = true }
rand = { version = "0.8.5", optional = true }
reqwest = { version = "0.12.7", optional = true, default-features = false, features = [
"json",
] }
sailfish = { version = "0.8.3", optional = true }
serde = { version = "1.0.209", features = ["derive", "rc"] }
serde-ndim = { version = "2.0.2", optional = true, features = ["ndarray"] }
serde_json = { version = "1.0.127" }
serde_plain = { version = "1.0.2", optional = true }
serde_repr = "0.1.19"
socket2 = "0.5.7"
thiserror = "1.0.63"
time = { version = "0.3.36", features = ["macros"], optional = true }
tokio = { workspace = true, features = ["net", "rt", "io-util"] }
tracing = { workspace = true }
tracing-futures = { version = "0.2.5", features = [
"futures-03",
], optional = true }
paste = "1.0.15"
serdebug = "1.1.0"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59.0", features = ["Win32_Networking_WinSock"] }
[dev-dependencies]
ascom-alpaca = { path = ".", features = ["client", "server", "test"] }
ctor = "0.2.8"
serial_test = "3.1.1"
tracing-error = "0.2.0"
color-eyre = "0.6.3"
tracing-forest = { version = "0.1.6", features = ["ansi"] }
tracing-subscriber = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread"] }
[[bench]]
name = "benches"
harness = false
required-features = ["client", "all-devices", "criterion"]
[features]
all-devices = [
"camera",
"covercalibrator",
"dome",
"filterwheel",
"focuser",
"observingconditions",
"rotator",
"safetymonitor",
"switch",
"telescope",
]
test = ["tokio/process"]
__anydevice = []
camera = [
"__anydevice",
"dep:bytemuck",
"dep:mediatype",
"dep:ndarray",
"dep:serde-ndim",
"dep:time",
]
covercalibrator = ["__anydevice"]
dome = ["__anydevice"]
filterwheel = ["__anydevice"]
focuser = ["__anydevice"]
observingconditions = ["__anydevice"]
rotator = ["__anydevice"]
safetymonitor = ["__anydevice"]
switch = ["__anydevice"]
telescope = ["__anydevice", "dep:time"]
__anynetwork = []
client = [
"__anynetwork",
"dep:async-fn-stream",
"dep:tracing-futures",
"dep:reqwest",
"dep:bytes",
"dep:mime",
"dep:rand",
"dep:once_cell",
"time?/parsing",
]
server = [
"__anynetwork",
"dep:bytemuck",
"dep:axum",
"dep:http",
"dep:sailfish",
"dep:indexmap",
"dep:serde_plain",
"time?/formatting",
]
nightly = []
[package.metadata.docs.rs]
all-features = true
[workspace]
members = ["examples/*"]