This page explains how to send data from a Rust app to Axiom.
Cargo.toml
:
VERSION
with the latest version number specified on the GitHub Releases page. For example, 0.11.0
.
If you use the Axiom CLI, run eval $(axiom config export -f)
to configure your environment variables. Otherwise, create an API token and export it as AXIOM_TOKEN
.
default-tls
: Provides TLS support to connect over HTTPS. Enabled by default.native-tls
: Enables TLS functionality provided by native-tls
.rustls-tls
: Enables TLS functionality provided by rustls
.tokio
: Enables usage with the tokio
runtime. Enabled by default.async-std
: Enables usage with the async-std
runtime.