headers icon indicating copy to clipboard operation
headers copied to clipboard

Add feature flag such as `time`,`sha1`

Open lexoooooo opened this issue 3 years ago • 5 comments

Users don't always need all the functionality, we should use feature flags to let them choose, thereby reducing compilation time

lexoooooo avatar Jun 28 '21 14:06 lexoooooo

image

Because time crate, the project relies on winapi and libc, severely affecting compilation time

lexoooooo avatar Jun 28 '21 14:06 lexoooooo

I have thought that perhaps classes of headers could be optional features. Like auth, conditionals, and the like...

seanmonstar avatar Jun 28 '21 19:06 seanmonstar

Can I open a pull request?

lexoooooo avatar Jun 29 '21 13:06 lexoooooo

It'd be best to plan what the features would be first, so that way the code part takes less back and forth. Does my comment about features as groups of headers make sense? Do you have thoughts on logical groupings?

seanmonstar avatar Jun 29 '21 13:06 seanmonstar

Oh...I don't understand what you mean by groups of headers and logical groupings ...

lexoooooo avatar Jun 30 '21 13:06 lexoooooo