Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Dec 23, 2024

This PR extracts our session cookie handling code into a dedicated crate. This helps avoid tight coupling of the code and might improve compile times a little bit too.

The `session()` fn is only used in a single place, so we might as well inline the code and remove the trait.
The `Deref` makes the private parts of this struct publicly available on the outside, which is not what we want, so instead we access the `Arc` directly.
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Dec 23, 2024
@Turbo87 Turbo87 merged commit ddac704 into rust-lang:main Dec 25, 2024
8 checks passed
@Turbo87 Turbo87 deleted the session-crate branch December 25, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant