2 stable releases
8.11.0 | Feb 9, 2024 |
---|---|
1.10.0 | Feb 9, 2024 |
#1198 in Database interfaces
465KB
515 lines
Elastic Common Schema for Rust
This crate provides a set of constants generated from the Elastic Common Schema (ECS) for use in Rust projects.
These constants are separated into modules based on the ECS fieldset.
Usage
Add this crate to your Cargo.toml
. Note that the version is indexed to the ECS version:
[dependencies]
elastic-common-schema = "8.11.0"
Then use the constants as you wish:
use elastic_common_schema::ecs;
fn main() {
println!("{}", ecs::http::HTTP_VERSION);
}