Rust
Rusty Falcon is the CrowdStrike Falcon SDK for Rust. It provides memory-safe, high-performance access to the Falcon API with zero-cost abstractions. The SDK reads credentials from environment variables and handles authentication automatically.
Installation
Section titled “Installation”Add to your Cargo.toml:
[dependencies]rusty_falcon = "0.3"Quick Start
Section titled “Quick Start”Set your environment variables:
export FALCON_CLIENT_ID="your-client-id"export FALCON_CLIENT_SECRET="your-client-secret"export FALCON_CLOUD="us-1"use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::apis::sensor_download_api;
#[tokio::main]async fn main() -> Result<(), Box<dyn std::error::Error>> { let falcon = FalconHandle::from_env().await?; let response = sensor_download_api::get_sensor_installers_ccidby_query( &falcon.cfg ).await?; println!("{:?}", response); Ok(())}