Skip to content

Allow setting custom line terminator for CSV writer #9571

Description

@svranesevic

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

Allow setting line terminator for CSV writer.

Describe the solution you'd like

A new function with_line_terminator on CSV WriterBuilder, that enables setting CRLF sequence, or any other single byte as line terminator, e.g.:

pub enum Terminator {
    CRLF,
    Any(u8),
}

Describe alternatives you've considered

No alternatives, there is no possibility to set line terminator for CSV writer rn.

Additional context

/

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions