Cargo Features

ascom-alpaca has no features set by default.

[dependencies]
ascom-alpaca = { version = "1.0.0-beta.3", features = ["all-devices", "camera", "covercalibrator", "dome", "filterwheel", "focuser", "observingconditions", "rotator", "safetymonitor", "switch", "telescope", "client", "server", "nightly", "test"] }
all-devices = camera, covercalibrator, dome, filterwheel, focuser, observingconditions, rotator, safetymonitor, switch, telescope
camera all-devices? test?

Enables bytemuck, mediatype, ndarray, and serde-ndim

ndarray:

apparently Cargo doesn't allow test to enable ndarray/rayon when ndarray is an optional dependency hence the duplicate dep with rayon feature

Affects api::CameraState, api::SensorType, api::Camera, api::PutPulseGuideDirection

covercalibrator all-devices?

Affects api::CalibratorStatus, api::CoverStatus, api::CoverCalibrator

dome all-devices?

Affects api::DomeShutterStatus, api::Dome

filterwheel all-devices?

Affects api::FilterWheel

focuser all-devices?

Affects api::Focuser

observingconditions all-devices?

Affects api::ObservingConditions

rotator all-devices?

Affects api::Rotator

safetymonitor all-devices?

Affects api::SafetyMonitor

switch all-devices?

Affects api::Switch

telescope all-devices?

Affects api::AlignmentMode, api::EquatorialSystem, api::SideOfPier, api::DriveRate, api::Axis, api::AxisRate, api::Telescope, api::PutPulseGuideDirection

client test?

Enables bytes, mime, once_cell, rand, and reqwest ^0.11.23

server test?

Enables axum and sailfish, macros of tokio

nightly
test = camera, client, server

Enables macros and rt-multi-thread of tokio