Rust API client sample

The client sample at demonstrates how to use the Rust API client.

Create a new API token in the Span dashboard and run the sample with

cargo run [api token]

Adding the API client dependency

Add the following lines to the [dependencies] section of your Cargo.toml file:

spanapi = { git = "" }
futures = "0.3"
tokio = { version = "1", features = ["macros", "rt-multi-thread" ] }