You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before making any major changes to neqo-client and neqo-server, like e.g. #1693, I thus suggest merging the two into one crate, and thereby deduplicating the shared logic.
Suggestion:
Introduce neqo-bin/ crate.
Move neqo-common/src/udp.rs into neqo-bin/src/udp.rs.
Consolidate shared logic between neqo-client and neqo-server in neqo-bin/src/lib.rs and submodules.
Move neqo-client/src/main.rs into neqo-bin/bin/client.rs and neqo-server/src/main.rs into neqo-bin/bin/server.rs.
What do folks think? Why have they been split into two separate crates thus far?
The text was updated successfully, but these errors were encountered:
neqo-client
andneqo-server
have a lot of logic in common, yet each duplicates it.A couple of examples
neqo/neqo-client/src/main.rs
Lines 123 to 219 in ad027cf
neqo/neqo-server/src/main.rs
Lines 92 to 151 in ad027cf
process
implementation callingclient.process
and handling its return value.neqo/neqo-client/src/main.rs
Lines 860 to 881 in ad027cf
neqo/neqo-server/src/main.rs
Lines 646 to 665 in ad027cf
neqo/neqo-client/src/main.rs
Lines 819 to 858 in ad027cf
neqo/neqo-server/src/main.rs
Lines 686 to 707 in ad027cf
Before making any major changes to
neqo-client
andneqo-server
, like e.g. #1693, I thus suggest merging the two into one crate, and thereby deduplicating the shared logic.Suggestion:
neqo-bin/
crate.neqo-common/src/udp.rs
intoneqo-bin/src/udp.rs
.neqo-client
andneqo-server
inneqo-bin/src/lib.rs
and submodules.neqo-client/src/main.rs
intoneqo-bin/bin/client.rs
andneqo-server/src/main.rs
intoneqo-bin/bin/server.rs
.What do folks think? Why have they been split into two separate crates thus far?
The text was updated successfully, but these errors were encountered: