Skip to content

BitVec Serde support #2995

Closed as not planned
Closed as not planned
@bakageddy

Description

@bakageddy

Is your feature request related to a problem? Please describe.
Currently bitvec crate supports serde as a optional feature. I would like to see that included in sqlx since I don't want to implement a custom deserializer and serializer for that type.

Describe the solution you'd like
Edit Cargo.toml and add feature "serde" for bitvec crate.

Describe alternatives you've considered
I have tried using the original crate, but since the original type does not support Decode trait in sqlx, I find it difficult to use it.

Additional context
I am relatively new to OSS but I have read the Contributing.md doc. It guided me to make a issue first and then proceed with a PR even though I imagine it's a simple one.

Cargo.toml:

sqlx = { version = "0.7.3", features = ["postgres", "runtime-tokio-rustls", "bit-vec"] }

Postgresql DB Version: 16.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions