http-wasm-guest 0.4.0

a library providing a http-wasm guest handler
Documentation
#[allow(non_upper_case_globals, non_snake_case)]
/**
 * https://http-wasm.io/http-handler-abi/#features
 */
pub mod Feature {
    use crate::Feature;
    pub const BufferRequest: Feature = Feature(1);
    pub const BufferResponse: Feature = Feature(2);
    pub const Trailers: Feature = Feature(4);
}

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_feature_or() {
        assert_eq!(
            Feature::BufferRequest | Feature::BufferResponse,
            crate::Feature(3)
        );
    }
}