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

Remove unused optional time dependency #84

Merged
merged 2 commits into from
Jan 6, 2023

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Jan 6, 2023

What does this PR do?:

This PR tweaks the optional features of the chrono crate to avoid pulling in the time crate.

Motivation:

We got warned by dependabot that the version of time pulled in by chrono is a deprecated version that should no longer be used.

Since we were not actually making use of any of the features provided by it, we can just remove it.

Additional Notes:

(N/A)

How to test the change?:

Validate that all tests still pass.

**What does this PR do?**:

This PR tweaks the optional features of the `chrono` crate to avoid
pulling in the `time` crate.

**Motivation**:

We got warned by dependabot that the version of `time` pulled in by
`chrono` is a deprecated version that should no longer be used.

Since we were not actually making use of any of the features provided
by it, we can just remove it.

**Additional Notes**:

(N/A)

**How to test the change?**:

Validate that all tests still pass.
@ivoanjo ivoanjo requested a review from a team as a code owner January 6, 2023 11:46
@ivoanjo
Copy link
Member Author

ivoanjo commented Jan 6, 2023

See https://github.com/DataDog/libdatadog/security/dependabot/4 for details on the dependabot complaint.

Copy link
Contributor

@gleocadie gleocadie left a comment

Choose a reason for hiding this comment

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

LGTM

@ivoanjo ivoanjo merged commit f96bc8a into main Jan 6, 2023
@morrisonlevi morrisonlevi deleted the ivoanjo/remove-unused-time-dependency branch January 6, 2023 15:55
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