elastic-common-schema

Crates.ioelastic-common-schema
lib.rselastic-common-schema
version8.11.0
sourcesrc
created_at2024-02-09 12:28:02.395288
updated_at2024-02-09 12:32:32.998575
descriptionElastic Common Schema (ECS) for Rust
homepage
repositoryhttps://github.com/danielbcorreia/elastic-common-schema-rs
max_upload_size
id1133899
size462,241
Daniel Correia (danielbcorreia)

documentation

https://docs.rs/elastic-common-schema

README

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);
}
Commit count: 0

cargo fmt