falco_event_schema/
lib.rs1#![doc = include_str!("../README.md")]
2
3#[cfg(feature = "derive_deftly")]
4pub use derive_deftly;
5use std::ffi::CStr;
6
7pub mod fields;
9mod types;
10
11#[allow(clippy::crate_in_macro_def)]
17pub mod events;
18
19#[allow(dead_code)]
20#[allow(non_snake_case)]
21#[allow(non_camel_case_types)]
22#[allow(non_upper_case_globals)]
23#[allow(missing_docs)]
24#[allow(unsafe_op_in_unsafe_fn)]
25#[doc(hidden)]
26pub mod ffi;
27
28#[cfg(test)]
29mod tests;
30
31pub const SCHEMA_VERSION: &CStr = {
36 match CStr::from_bytes_with_nul(concat!(include_str!("../api/SCHEMA_VERSION"), "\0").as_bytes())
37 {
38 Ok(s) => s,
39 Err(_) => panic!("Failed to parse SCHEMA_VERSION: embedded null byte in string"),
40 }
41};