Cargo Features

[dependencies]
intecture-api = { version = "0.3.2", default-features = false, features = ["local-run", "remote-run"] }
default = remote-run

The remote-run feature is set by default whenever intecture-api is added without default-features = false somewhere in the dependency tree.

local-run

Run API endpoints against the local machine

Affects ffi::host_local, host::Host, telemetry::Telemetry, telemetry::Cpu, telemetry::FsMount, telemetry::Netif, telemetry::Os, target::debian_base, target::default_base, target::linux_base, target::redhat_base, target::unix_base, target::debian, target::centos, target::fedora, target::freebsd, target::linux, target::macos, target::redhat, target::ubuntu

remote-run default = czmq

Run API endpoints against a remote agent

Affects error::MissingFrame, ffi::file_upload, ffi::file_upload_file, ffi::host_connect, ffi::host_connect_endpoint, ffi::host_connect_payload, ffi::host_close, host::Host, host::HostSendRecv, telemetry::Telemetry, target::remote

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](https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html).

czmq remote-run