cdepillabout / servant-rawm

Effectful Raw handler for Servant servers.
https://hackage.haskell.org/package/servant-rawm
BSD 3-Clause "New" or "Revised" License
16 stars 7 forks source link

Move client and docs to separate packages? #14

Closed Krasjet closed 4 years ago

Krasjet commented 4 years ago

Hello,

Thank you for making this package. I noticed that this package introduces a ton of extra dependencies to my application since it depends on servant-client and servant-docs, and servant-docs depends on lens.

I might suggest separating these components to servant-rawm-client and servant-rawm-docs, respectively, since they are not necessary to build a server application and can significantly increase the build time.

Best, kst.

cdepillabout commented 4 years ago

This sounds good.

I'd be happy to merge a PR implementing something like this. Ideally the packages would mirror the structure of the normal servant packages.

Krasjet commented 4 years ago

Work in progress at https://github.com/Krasjet/servant-rawm

cdepillabout commented 4 years ago

@Krasjet Thanks for working on this!

cdepillabout commented 4 years ago

This was merged in #15. This will be released to hackage as a few different packages:

This mirrors the layout of the actual servant packages.