#![allow(unused_crate_dependencies)] #![allow( clippy::doc_lazy_continuation, clippy::doc_overindented_list_items, clippy::large_enum_variant, clippy::derivable_impls )] // proto 注释里的 `auth.` 之类写法会被 rustdoc 当成 HTML 标签,生成代码不归这里维护。 #![allow(rustdoc::invalid_html_tags)] use utoipa as _; pub mod client; pub mod error; pub mod pb { include!(concat!(env!("OUT_DIR"), "/_include.rs")); } pub mod serde_helpers; pub use pb::*; pub const FILE_DESCRIPTOR_SET: &[u8] = include_bytes!(concat!(env!("OUT_DIR"), "/descriptor.bin")); pub use client::KenShellClient; pub use error::KenShellError; pub const REQUEST_ID_HEADER: &str = "x-request-id"; pub const RPC_KEY_HEADER: &str = "x-rpc-key";