Unverified Commit e639c205 authored by Nugine's avatar Nugine
Browse files

codegen: header

parent 11de6a01
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ fn main() {
    }

    {
        let path = "crates/s3s/src/header/names.rs";
        let path = "crates/s3s/src/header/generated.rs";
        let mut gen = Codegen::create_file(path).unwrap();
        headers::codegen(&model, &mut gen);
    }
+1 −1
Original line number Diff line number Diff line
@@ -103,7 +103,7 @@ pub fn codegen(ops: &Operations, rust_types: &RustTypes, g: &mut Codegen) {
        "#![allow(clippy::borrow_interior_mutable_const)]",
        "",
        "use crate::dto::*;", //
        "use crate::header::names::*;",
        "use crate::header::*;",
        "use crate::http;",
        "use crate::error::*;",
        "use crate::path::S3Path;",
+2 −1
Original line number Diff line number Diff line
pub mod names;
mod generated;
pub use self::generated::*;
+1 −1
Original line number Diff line number Diff line
//! aws-chunked stream

use crate::error::StdError;
use crate::sig_v4::AmzDate;
use crate::sig_v4;
use crate::sig_v4::AmzDate;
use crate::stream::{ByteStream, DynByteStream, RemainingLength};
use crate::utils::SyncBoxFuture;

Loading