Skip to content

Easy2::post_field_size takes size as u64 instead of usize #596

@svenkata9

Description

@svenkata9

Hi Alex,

Thanks for all your great work on curl-rust. Extremely useful to use Easy/Easy2 safe wrappers.

I just noticed that Easy2::post_field_size takes size as u64 instead of usize. Typically Rust's .len() functions output usize, and typically we send a &str or String whose length we have to convert to as u64 to pass to this function in curl-rust.

Is there an issue in taking in usize?
Thanks,

~Sankar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions