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

Having troubles using evmap with hyper #11

Closed
kszlim opened this issue Jan 30, 2019 · 1 comment
Closed

Having troubles using evmap with hyper #11

kszlim opened this issue Jan 30, 2019 · 1 comment

Comments

@kszlim
Copy link

kszlim commented Jan 30, 2019

I've tried structuring my code similarly to how your shared reader example is done, but it still seems to complain that Sync isn't implemented for Cell which is included in ReadHandle.

I have a gist here https://gist.github.com/kszlim/9106a17199b54ab415e556f028e046ac. I'm not seeing what I'm messing up, sorry if this is the wrong place to ask for help.

The only deps I'm using are:
hyper = "0.12.20"
futures = "0.1.21"
evmap = "4.1.1"

@kszlim
Copy link
Author

kszlim commented Jan 30, 2019

Actually, got it figured out, it's a constraint of hyper where the reader/writer had to be cloned in serve and inside service_fn.

@kszlim kszlim closed this as completed Jan 30, 2019
jonhoo pushed a commit that referenced this issue Sep 9, 2023
Put 1.70 in there (for instance if you want to pin against OnceLock stabilizing) and it will actually test 1.7 as it appears github auto converts this to a float?

Putting in quotes seems to do the right thing here
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

No branches or pull requests

1 participant