Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler flags to disable features and shrink code size #1868

Closed
andrewwade opened this issue Dec 12, 2019 · 1 comment
Closed

Compiler flags to disable features and shrink code size #1868

andrewwade opened this issue Dec 12, 2019 · 1 comment
Labels
kind: enhancement/improvement state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated

Comments

@andrewwade
Copy link

It would be nice to have compiler flags to disable certain features. For example, I don't need parsing to write json logs. I'm only constructing the json and dumping it to strings but I like the convenience of how json objects are constructed in this library. I commented out the parsing stuff and reduced the code size by 60% so now I can put it on more embedded environments.

Possible features to turn off:

  1. Parsing
  2. SAX support
  3. bson support
  4. ubjson support
  5. cbor support
  6. msgpack support
@stale
Copy link

stale bot commented Jan 11, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated label Jan 11, 2020
@stale stale bot closed this as completed Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement/improvement state: stale the issue has not been updated in a while and will be closed automatically soon unless it is updated
Projects
None yet
Development

No branches or pull requests

1 participant