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

Refactor Session and Server into separate modules #29

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

markmandel
Copy link
Member

Having both Structs in the same module was becoming unwieldy.

Split them apart and used pub use to pull the Server into a public scope that the main.rs could use.

Also resulted in a cleaner Session interface with better encapsulation.

Having both Structs in the same module was becoming unwieldy.

Split them apart and used `pub use` to pull the Server into a public
scope that the main.rs could use.

Also resulted in a cleaner Session interface with better encapsulation.
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Feb 19, 2020
@markmandel markmandel merged commit 447d842 into master Feb 21, 2020
@markmandel markmandel deleted the refactor/server-session branch February 21, 2020 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant