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

Move orjson to be an optional dependency #516

Merged
merged 3 commits into from
Jul 1, 2021
Merged

Move orjson to be an optional dependency #516

merged 3 commits into from
Jul 1, 2021

Conversation

timgates42
Copy link
Contributor

Use it if available for faster parsing but for those less keen on using
a multi stage docker build and ensuring they have the correct shared
library dependencies (particularly challenging if building off an alpine
container that doesn't use a distribution build) they can avoid the
extra_requirement.

Use it if available for faster parsing but for those less keen on using
a multi stage docker build and ensuring they have the correct shared
library dependencies (particularly challenging if building off an alpine
container that doesn't use a distribution build) they can avoid the
extra_requirement.
Comment on lines +62 to +64
"faster_parsing": ["orjson"],
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh didn't even know we could use it like this!

Copy link
Member

@eerkunt eerkunt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to update the documentation along with this PR.

@timgates42
Copy link
Contributor Author

We also need to update the documentation along with this PR.

I've added a few notes to the documentation - let me know if I'm on the right track with the kind of update to the documentation you are thinking or if you were thinking of something else?

Copy link
Member

@eerkunt eerkunt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this all looks great. Thanks for the PR ! 🎉

@eerkunt eerkunt merged commit a31fb8c into terraform-compliance:master Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants