headers icon indicating copy to clipboard operation
headers copied to clipboard

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

Open lexoliu opened this issue 4 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

lexoliu avatar Jun 28 '21 14:06 lexoliu

image

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

lexoliu avatar Jun 28 '21 14:06 lexoliu

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?

lexoliu avatar Jun 29 '21 13:06 lexoliu

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 ...

lexoliu avatar Jun 30 '21 13:06 lexoliu