Cargo Features

[dependencies]
ic-agent = { version = "0.39.1", default-features = false, features = ["pem", "ring", "ic_ref_tests", "wasm-bindgen", "tracing"] }
default ic_ref_tests? = pem

The pem feature is set by default whenever ic-agent is added without default-features = false somewhere in the dependency tree.

pem default

Enables pem

Affects error::PemError

ring

Enables ring

ic_ref_tests = default

Used to separate integration tests for ic-ref which need a server running.

wasm-bindgen

Enables getrandom and js-sys, wasm-bindgen, wasm-bindgen-futures, and web-sys, wasm-bindgen of backoff, wasm of cached ^0.52, wasm-bindgen of time

Affects util::spawn

_internal_dynamic-routing = tracing

Enables arc-swap, async-channel ^1.9, async-watch, and stop-token

Affects route_provider::dynamic_routing

tracing _internal_dynamic-routing?

Does very little right now.

Enables tracing