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

mmap dependency #33

Open
s3bk opened this issue Jan 15, 2025 · 5 comments · May be fixed by #34
Open

mmap dependency #33

s3bk opened this issue Jan 15, 2025 · 5 comments · May be fixed by #34

Comments

@s3bk
Copy link

s3bk commented Jan 15, 2025

Wasm32 does not support mmap, but epserde would still be nice to have there.

I am working on a PR to make the mmap dependency optional.

@s3bk s3bk closed this as completed Jan 15, 2025
@s3bk s3bk reopened this Jan 15, 2025
@s3bk
Copy link
Author

s3bk commented Jan 15, 2025

Okay, I thought I was dumb, but the mem_dbg' had the mmap` feature enabled all the time.

@zommiommy
Copy link
Collaborator

Yeah, if you don't want mmap, we have to put behind cfg gates MemCase and some other structs. It should be doable.

@s3bk
Copy link
Author

s3bk commented Jan 15, 2025

Yep. Working on it.

@s3bk
Copy link
Author

s3bk commented Jan 15, 2025

Thank you for the crate!
I was looking for something less complicated than rkyv, but still zero-copy for most of the data.

@s3bk s3bk linked a pull request Jan 15, 2025 that will close this issue
@vigna
Copy link
Owner

vigna commented Jan 18, 2025

BTW, please tell us if you find anything less than clear in the docs. We're deep inside of it so we can't really see where we are giving something for granted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants