{"id":13761624,"url":"https://github.com/axiomhq/axiom-rs","last_synced_at":"2025-05-06T18:21:23.453Z","repository":{"id":43184930,"uuid":"510770876","full_name":"axiomhq/axiom-rs","owner":"axiomhq","description":"Official Rust bindings for the Axiom API","archived":false,"fork":false,"pushed_at":"2025-03-07T10:07:40.000Z","size":558,"stargazers_count":37,"open_issues_count":5,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-04T11:50:15.120Z","etag":null,"topics":["async","axiom","client","hacktoberfest","http","o11y","rust","sdk"],"latest_commit_sha":null,"homepage":"https://axiom.co","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/axiomhq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-07-05T14:27:50.000Z","updated_at":"2025-03-20T05:13:42.000Z","dependencies_parsed_at":"2024-01-15T03:58:34.272Z","dependency_job_id":"5a6ec4f6-2470-43a2-a25a-fb4f570e24e1","html_url":"https://github.com/axiomhq/axiom-rs","commit_stats":{"total_commits":96,"total_committers":7,"mean_commits":"13.714285714285714","dds":"0.13541666666666663","last_synced_commit":"b82db9bab7023bd404f24f57b0f68ab9a8cd7d3a"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axiomhq%2Faxiom-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axiomhq%2Faxiom-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axiomhq%2Faxiom-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axiomhq%2Faxiom-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axiomhq","download_url":"https://codeload.github.com/axiomhq/axiom-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252741732,"owners_count":21797074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","axiom","client","hacktoberfest","http","o11y","rust","sdk"],"created_at":"2024-08-03T14:00:20.520Z","updated_at":"2025-05-06T18:21:23.409Z","avatar_url":"https://github.com/axiomhq.png","language":"Rust","funding_links":[],"categories":["Official Libraries","Rust"],"sub_categories":["SDKs and Libraries"],"readme":"# axiom-rs [![docs.rs](https://docs.rs/axiom-rs/badge.svg)](https://docs.rs/axiom-rs/) [![build](https://img.shields.io/github/actions/workflow/status/axiomhq/axiom-rs/ci.yaml?branch=main\u0026ghcache=unused)](https://github.com/axiomhq/axiom-rs/actions?query=workflow%3ACI) [![crates.io](https://img.shields.io/crates/v/axiom-rs.svg)](https://crates.io/crates/axiom-rs) [![License](https://img.shields.io/crates/l/axiom-rs)](LICENSE-APACHE)\n\n```rust,no_run\nuse axiom_rs::Client;\nuse serde_json::json;\n\n#[tokio::main]\nasync fn main() -\u003e Result\u003c(), Box\u003cdyn std::error::Error\u003e\u003e {\n    // Auto-configure the client from the environment variable AXIOM_TOKEN:\n    let client = Client::new()?;\n\n    client\n        .ingest(\n            \"DATASET_NAME\",\n            vec![json!({\n                \"foo\": \"bar\",\n            })],\n        )\n        .await?;\n    let _res = client\n        .query(r#\"['DATASET_NAME'] | where foo == \"bar\" | limit 100\"#, None)\n        .await?;\n    Ok(())\n}\n```\n\n## Install\n\n```sh\ncargo add axiom-rs\n```\n\n## Optional features\n\nYou can use the [Cargo features](https://doc.rust-lang.org/stable/cargo/reference/features.html#the-features-section):\n\n- `default-tls`: Provides TLS support to connect over HTTPS. Enabled by default.\n- `native-tls`: Enables TLS functionality provided by `native-tls`.\n- `rustls-tls`: Enables TLS functionality provided by `rustls`.\n- `tokio`: Enables usage with the `tokio` runtime. Enabled by default.\n- `async-std`: Enables usage with the `async-std` runtime.\n\n## Documentation\n\nRead documentation on [axiom.co/docs/guides/rust](https://axiom.co/docs/guides/rust).\n\n## License\n\n[MIT](LICENSE-MIT) or [Apache](LICENSE-APACHE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxiomhq%2Faxiom-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxiomhq%2Faxiom-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxiomhq%2Faxiom-rs/lists"}