Cargo Features

[dependencies]
scpi = { version = "1.0.1", default-features = false, features = ["alloc", "arrayvec", "std", "compact", "uom", "unit-electric-potential", "unit-electric-current", "unit-electrical-conductance", "unit-electrical-resistance", "unit-electric-charge", "unit-capacitance", "unit-inductance", "unit-energy", "unit-power", "unit-angle", "unit-ratio", "unit-thermodynamic-temperature", "unit-time", "unit-frequency"] }
default = alloc, unit-angle, unit-capacitance, unit-electric-charge, unit-electric-current, unit-electric-potential, unit-electrical-conductance, unit-electrical-resistance, unit-energy, unit-frequency, unit-inductance, unit-power, unit-ratio, unit-thermodynamic-temperature, unit-time

These default features are set whenever scpi is added without default-features = false somewhere in the dependency tree.

alloc default std?

Common features
Use alloc

Affects error::VecErrorQueue

arrayvec

Use arrayvec

Enables arrayvec

Affects error::ArrayErrorQueue

std = alloc

Use std (overrides alloc)

Enables std of lexical-core ^0.8

compact

Enable compact feature in lexical-core

Enables compact of lexical-core ^0.8

uom unit-angle unit-capacitance unit-electric-charge unit-electric-current unit-electric-potential unit-electrical-conductance unit-electrical-resistance unit-energy unit-frequency unit-inductance unit-power unit-ratio unit-thermodynamic-temperature unit-time

Units of measurements

Use uom for automatic conversion of unit suffixes.

Enables uom

Affects scpi::units

unit-electric-potential default = uom

Electric potential (Voltage)

unit-electric-current default = uom

Electric current

unit-electrical-conductance default = uom

Electric conductance (inverse resistance)

unit-electrical-resistance default = uom

Electric resistance

unit-electric-charge default = uom

Electric charge

unit-capacitance default = uom

Electric capacitance

unit-inductance default = uom

Electric inductance

unit-energy default = uom

Energy

unit-power default = uom

Power

unit-angle default = uom

Angle

unit-ratio default = uom

Ratio / percentage / unitless

unit-thermodynamic-temperature default = uom

Temperature

unit-time default = uom

Time

unit-frequency default = uom

Frequency