1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//! # Azure Functions for Rust
//!
//! This crate shares types between the `azure-functions-codegen` and `azure-functions` crates.
#![recursion_limit = "128"]
#![cfg_attr(feature = "unstable", feature(proc_macro_diagnostic))]
#![deny(missing_docs)]
#![deny(unused_extern_crates)]

#[doc(hidden)]
pub mod codegen;
mod context;
#[doc(hidden)]
pub mod util;

#[doc(hidden)]
#[allow(renamed_and_removed_lints)]
pub mod rpc {
    pub mod protocol {
        use azure_functions_shared_codegen::generated_mod;

        generated_mod!(FunctionRpc);
        generated_mod!(FunctionRpc_grpc);
        generated_mod!(ClaimsIdentityRpc);

        pub use self::ClaimsIdentityRpc::*;
        pub use self::FunctionRpc::*;
        pub use self::FunctionRpc_grpc::*;
    }
}

pub use self::context::*;