Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds support for zero-copy FromSql derive #1070

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Oct 11, 2023

  1. Adds support for zero-copy FromSql derive

    Similar in spirit and implementation to how `serde` supports borrowed
    deserialization lifetimes. Like `serde`, it uses `'de` as the lifetime
    of the trait (`FromoSql<'de>`) and it adds all borrowed liftimes as
    lifetime bounds on `'de`.
    
    Also like `serde` all top level references automatically have their
    lifetimes borrowed, but container types carrying references must
    explicity be borrowed with the `#[postgres(borrow)]` annotation.
    JosephMoniz committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    309207a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eae83a4 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    a7b6a64 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    2cfb984 View commit details
    Browse the repository at this point in the history