Skip to main content

user_agent_to_lexe

Macro user_agent_to_lexe 

Source
macro_rules! user_agent_to_lexe {
    () => { ... };
}
Expand description

Make all of lexe_api_core available under [lexe_api].

NOTE: Any crates which can depend on lexe_api_core directly (without lexe-api) should do so to avoid [lexe_api] dependencies. Build the user agent string used for requests to Lexe infrastructure at compile time. We format as <crate>/<version>, consistent with RFC 9110 Section 10.1.5.

Example: “node/0.6.20”.