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

Could not find 'tcp' in 'server' #147

Closed
RayofLightz opened this issue Feb 6, 2023 · 2 comments
Closed

Could not find 'tcp' in 'server' #147

RayofLightz opened this issue Feb 6, 2023 · 2 comments

Comments

@RayofLightz
Copy link

Currently when trying to compile the tcp-server example with the following Carog.toml I get the above error.

[dependencies]
tokio-modbus = { version = "*", default-features = false, features = ["tcp", "server"] }

I am on the current stable release of rust.

@uklotzde
Copy link
Member

uklotzde commented Feb 6, 2023

You need to use "tcp-server-unstable", see the Cargo.toml.

The server features are considered experimental and are hardly documented, see also #146.

@uklotzde uklotzde closed this as completed Feb 6, 2023
@uklotzde
Copy link
Member

uklotzde commented Feb 6, 2023

#148

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

2 participants