From 957945e5bbb0714686cce640f73b53eda07e8b9d Mon Sep 17 00:00:00 2001 From: Pierre Chifflier Date: Fri, 23 Feb 2024 10:05:32 +0100 Subject: [PATCH] Set MSRV to 1.63.0 --- .github/workflows/rust.yml | 2 +- Cargo.toml | 3 ++- README.md | 3 ++- src/lib.rs | 11 ++++++++++- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e5e5bd0..04f20d7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,7 +10,7 @@ jobs: matrix: rust: - stable - - 1.53.0 + - 1.63.0 - nightly steps: - uses: actions/checkout@v2 diff --git a/Cargo.toml b/Cargo.toml index 9267e57..5ebe41a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "oid-registry" -version = "0.6.1" +version = "0.7.0" authors = ["Pierre Chifflier "] license = "MIT OR Apache-2.0" description = "Object Identifier (OID) database" @@ -10,6 +10,7 @@ repository = "https://github.com/rusticata/oid-registry.git" edition = "2018" build = "build.rs" readme = "README.md" +rust-version = "1.63" include = [ "LICENSE-*", diff --git a/README.md b/README.md index b058555..0ecb5f7 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![docs.rs](https://docs.rs/oid-registry/badge.svg)](https://docs.rs/oid-registry) [![crates.io](https://img.shields.io/crates/v/oid-registry.svg)](https://crates.io/crates/oid-registry) [![Github CI](https://github.com/rusticata/oid-registry/workflows/Continuous%20integration/badge.svg)](https://github.com/rusticata/oid-registry/actions) -[![Minimum rustc version](https://img.shields.io/badge/rustc-1.53.0+-lightgray.svg)](#rust-version-requirements) +[![Minimum rustc version](https://img.shields.io/badge/rustc-1.63.0+-lightgray.svg)](#rust-version-requirements) # OID Registry This crate is a helper crate, containing a database of OID objects. These objects are intended @@ -61,6 +61,7 @@ registry.insert(oid!(1.2.3.5), ("shortName", "A description")); Versions of `oid-registry` must be chosen specifically, to depend on a precise version of `asn1-rs`. The following table summarizes the matching versions: +- `oid-registry` 0.7.x depends on `asn1-rs` 0.6.0 - `oid-registry` 0.6.x depends on `asn1-rs` 0.5.0 - `oid-registry` 0.5.x depends on `asn1-rs` 0.4.0 diff --git a/src/lib.rs b/src/lib.rs index 3a781ee..6874868 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,7 +3,7 @@ //! [![docs.rs](https://docs.rs/oid-registry/badge.svg)](https://docs.rs/oid-registry) //! [![crates.io](https://img.shields.io/crates/v/oid-registry.svg)](https://crates.io/crates/oid-registry) //! [![Github CI](https://github.com/rusticata/oid-registry/workflows/Continuous%20integration/badge.svg)](https://github.com/rusticata/oid-registry/actions) -//! [![Minimum rustc version](https://img.shields.io/badge/rustc-1.53.0+-lightgray.svg)](#rust-version-requirements) +//! [![Minimum rustc version](https://img.shields.io/badge/rustc-1.63.0+-lightgray.svg)](#rust-version-requirements) //! # OID Registry //! //! This crate is a helper crate, containing a database of OID objects. These objects are intended @@ -58,6 +58,15 @@ //! //! ``` //! +//! ## Versions and compatibility with `asn1-rs` +//! +//! Versions of `oid-registry` must be chosen specifically, to depend on a precise version of `asn1-rs`. +//! The following table summarizes the matching versions: +//! +//! - `oid-registry` 0.7.x depends on `asn1-rs` 0.6.0 +//! - `oid-registry` 0.6.x depends on `asn1-rs` 0.5.0 +//! - `oid-registry` 0.5.x depends on `asn1-rs` 0.4.0 +//! //! ## Contributing OIDs //! //! All OID values, constants, and features are derived from files in the `assets` directory in the