Skip to content

custom transport for sqlx connections #4307

@Benjscho

Description

@Benjscho

I have found these related issues/pull requests

Relates to #4187, #4212 and #4281

Description

Currently there is no way to provide custom transport for connecting to Postgres or MySql servers using sqlx. This means if you are unable to connect over TCP, you need to use an alternative library.

Prefered solution

The preferred solution would be to support AsyncRead + AsyncWrite transport inputs (or equivalent) so any transport provider can be used. This will unblock users in restricted environments, or testing with libraries such as turmoil that use custom TCP.

Is this a breaking change? Why or why not?

No this should be purely an additive feature

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions