Octane icon indicating copy to clipboard operation
Octane copied to clipboard

Remap project structure

Open Daksh14 opened this issue 4 years ago • 4 comments

Remapping project structure in the following way (suggestions always welcome)

octane_http1x
octane_http2
octane_http3
octane_multipart
octane_router
...

Basically, sub crates for each component, that way it's easy to hide them behind feature requests and code is in better and findable places

Daksh14 avatar Jan 29 '21 08:01 Daksh14

imo feature flags > subcrates; subcrates would only be better (instead of worse) if said crates could be used for other webservers as well

somebody1234 avatar Jan 29 '21 08:01 somebody1234

We would still have feature flags, it would be easier to separate protocols under feature flags with subcrates, they will both work together, also since we are a light weight web server, it would help, what do you say?

Daksh14 avatar Jan 29 '21 08:01 Daksh14

idk tbh. i guess my point is, if the subcrates can't be used alone there's no real reason to separate into subcrates

somebody1234 avatar Jan 29 '21 08:01 somebody1234

Good point, we'll defer on this for now then

Daksh14 avatar Jan 29 '21 09:01 Daksh14