Skip to content

Identify/decide minimum supported version of Rust #1276

Description

@DanielEScherzer

C.f. #1238

If I understand correctly:

edition = "2021"
means that MSRV >= 1.56.0

bitflags = "2.1.0"
means MSRV >= 1.56.0 (https://docs.rs/crate/bitflags/2.1.0/source/Cargo.toml#55)

git2-rs/Cargo.lock

Lines 474 to 476 in 7415113

[[package]]
name = "libc"
version = "0.2.174"
means MSRV >= 1.63.0 (https://docs.rs/crate/libc/0.2.174/source/Cargo.toml#52)

|| cfg!(windows) && path.chars().nth(1).is_some_and(|x| x == ':')
means MSRV >= 1.70.0 (https://blog.rust-lang.org/2023/06/01/Rust-1.70.0/) (unless we want to say that there is a different MSRV depending on which features are enabled?)

assert!(get_cached_memory().is_ok_and(|m| m.1 == 20 * 1024 * 1024));
means tests are MSRV >= 1.70.0 for the same reason

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions