Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Disable chrono's default-features#17

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sfackler merged 1 commit intorust-postgres:masterfrommsepga:disable-chrono-default-features
Oct 27, 2022
Merged

Disable chrono's default-features#17

sfackler merged 1 commit intorust-postgres:masterfrommsepga:disable-chrono-default-features
Oct 27, 2022

Conversation

msepga
Copy link
Contributor

This fixes invocations ofcargo audit, where the unnecessarytime dependency is pulled in.

Before:

❯ cargo audit    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`      Loaded 464 security advisories (from /Users/msepga/.cargo/advisory-db)    Updating crates.io index    Scanning Cargo.lock for vulnerabilities (106 crate dependencies)Crate:     timeVersion:   0.1.44Title:     Potential segfault in the time crateDate:      2020-11-18ID:        RUSTSEC-2020-0071URL:       https://rustsec.org/advisories/RUSTSEC-2020-0071Solution:  Upgrade to >=0.2.23Dependency tree:time 0.1.44└── chrono 0.4.22    ├── postgres_range 0.11.0    └── postgres-types 0.2.4        ├── tokio-postgres 0.7.7        │   └── postgres 0.19.4        │       └── postgres_range 0.11.0        └── postgres_range 0.11.0error: 1 vulnerability found!

After:

❯ cargo audit    Fetching advisory database from `https://github.com/RustSec/advisory-db.git`      Loaded 464 security advisories (from /Users/msepga/.cargo/advisory-db)    Updating crates.io index    Scanning Cargo.lock for vulnerabilities (104 crate dependencies)

This fixes usage of `cargo audit`, where the unnecessary `time`dependency is pulled in.
@sfacklersfackler merged commite8f2a5d intorust-postgres:masterOct 27, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@msepga@sfackler

[8]ページ先頭

©2009-2025 Movatter.jp