Cargo Features

ITRON has no features set by default.

[dependencies]
itron = { version = "0.1.9", features = ["nightly", "unstable", "doc_cfg", "none", "asp3", "solid_asp3", "fmp3", "solid_fmp3", "dcre", "rstr_task", "messagebuf", "ovrhdr", "subprio", "pi_mutex", "systim_local", "exd_tsk"] }
nightly = doc_cfg

Affects duration::expect_valid_duration, timeout::expect_valid_timeout, itron::macros

unstable = tt-call

Affects itron::macros

doc_cfg nightly?
none = dcre, exd_tsk, messagebuf, ovrhdr, pi_mutex, rstr_task, subprio, systim_local

Kernel selection

  • Be sure to synchronize this with build.rs.
  • Be sure to synchronize this with the "list of enabled features" in crate::abi.
asp3

Affects task::TA_RSTR, task::T_RTSK, time::T_RCYC, time::T_RALM, time::T_ROVR, types::PRCTIM, sync::T_RMBF, task::TTW_SMBF, task::TTW_RMBF, task::T_CTSK, time::T_CCYC, time::T_CALM, intr::T_CISR, mempool::T_RMPF, mempool::T_CMPF, sync::T_RSEM, sync::T_RFLG, sync::T_RDTQ, sync::T_RPDQ, sync::T_RMTX

solid_asp3

Affects sync::TA_INHERIT, task::T_RTSK, time::T_RCYC, time::T_RALM, sync::T_RMBF, sync::T_CMBF, task::TTW_SMBF, task::TTW_RMBF, task::T_CTSK, time::T_CCYC, time::T_CALM, intr::T_CISR, mempool::T_RMPF, mempool::T_CMPF, sync::T_RSEM, sync::T_RFLG, sync::T_RDTQ, sync::T_RPDQ, sync::T_RMTX, sync::T_CSEM

fmp3

Affects sync::TSPN_UNL, sync::TSPN_LOC, sync::T_RSPN, task::T_RTSK, time::T_RCYC, time::T_RALM, mempool::T_RMPF, sync::T_RSEM, sync::T_RFLG, sync::T_RDTQ, sync::T_RPDQ, sync::T_RMTX

solid_fmp3

Affects sync::T_RSPN, sync::T_CSPN, task::T_CTSK, task::T_RTSK, time::T_RCYC, time::T_RALM, time::T_CCYC, time::T_CALM, intr::T_CISR, mempool::T_RMPF, mempool::T_CMPF, sync::T_RSEM, sync::T_RFLG, sync::T_RDTQ, sync::T_RPDQ, sync::T_RMTX, sync::T_CSEM, sync::T_CFLG, sync::T_CDTQ, sync::T_CPDQ

dcre none?

Kernel customization

  • Be sure to synchronize this with the "list of enabled features" in crate::abi.

Dynamic object creation. Enables owned wrapped types.

Affects dataqueue::BuildError, dataqueue::DeleteError, memorypool::BuildError, memorypool::DeleteError, messagebuffer::BuildError, messagebuffer::DeleteError, mutex::BuildError, mutex::DeleteError, semaphore::BuildError, semaphore::DeleteError, task::DeleteError, task::BuildError, sync::T_CSPN, task::T_CTSK, time::T_CCYC, time::T_CALM, sync::T_CMBF, task::T_CTSK, time::T_CCYC, time::T_CALM

rstr_task none?

"Restricted" tasks

Affects task::TA_RSTR

messagebuf none?

Message buffers

Affects sync::T_RMBF, sync::T_CMBF, task::TTW_SMBF, task::TTW_RMBF

ovrhdr none?

Overrun handlers

Affects time::T_ROVR, types::PRCTIM

subprio none?

Subpriorities

pi_mutex none?

Priority-inheritance mutex

Affects sync::TA_INHERIT

systim_local none?

Processor-local kernel ticks

Affects time::T_CCYC.iprcid, time::T_CCYC.affinity, time::T_CALM.iprcid, time::T_CALM.affinity

exd_tsk none?

exd_tsk

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

tt-call unstable?