| Crates.io | warframe-macros |
| lib.rs | warframe-macros |
| version | 8.0.1 |
| created_at | 2024-02-05 18:44:53.666731+00 |
| updated_at | 2025-09-21 08:40:41.361631+00 |
| description | Macros for the `warframe` crate. |
| homepage | https://docs.rs/warframe |
| repository | https://github.com/Mettwasser/warframe.rs |
| max_upload_size | |
| id | 1127857 |
| size | 18,061 |
An async crate to wrap the Worldstate API and the warframe.market API.
Use this crate if you want to make a Warframe-related rust project that is async.
To install, simply run cargo add warframe.
Note that the MSRV of this project is 1.85.
use warframe::worldstate::{Client, Error, queryable::Cetus, Opposite, TimedEvent};
#[tokio::main]
async fn main() -> Result<(), Error> {
let client = Client::default();
let cetus = client.fetch::<Cetus>().await?;
println!(
"It is currently {} on cetus. It will be {} in {}",
cetus.state,
cetus.state.opposite(),
cetus.eta()
);
Ok(())
}
See CONTRIBUTING
Commit messages are linting in the PR