http-rs / http-rs/async-session

Generic `Session`

Open
#27 0 comments 2 reactions 0 assignees View on GitHub
enhancement semver-major
Dominant language
Rust
Stars
125
Forks
24
PR merge metrics
No merged PRs in 30d

Description

A `Session ` has a data field of type `HashMap`. This forces a session to always use JSON for serialization/deserialization.

In my case I would prefer if it was a `HashMap` so that I can use more efficient serde methods (e.g.: bincode, which this crate already uses)

Would it be possible to change `Session` so that it becomes generic like `Session` so that data becomes `HashMap`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.