From d76438c2139807d9af4e11e4ee8cd48352525693 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 30 Jan 2025 09:33:20 +1100 Subject: [PATCH 1/2] README: Update MSRV docs The current MSRV docs are stale, I forgot to update them when doing the MSRV bump. Update to the current MSRV and mention the lock files. Text copied from `rust-bitcoin`. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 638baae..14b5e8b 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,9 @@ println!("Or the inner type: {}", adt.p.into_inner()); ## Minimum Supported Rust Version (MSRV) -The crate MSRV is Rust v1.56.1 +This library should compile with any combination of features on **Rust 1.63.0**. + +Use `Cargo-minimal.lock` to build the MSRV by copying to `Cargo.lock` and building. ## Licensing From 6fa88ba9df5c56fa2ba0269dfb518dceb294df30 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Thu, 30 Jan 2025 09:35:57 +1100 Subject: [PATCH 2/2] README: Remove mention of deprecated functions Just delete these docs, the functions are deprecated and will be removed in the imminent `v1.0` release - saves me forgetting them when they are removed. --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index 14b5e8b..f38ad21 100644 --- a/README.md +++ b/README.md @@ -68,11 +68,6 @@ let adt = Adt { x: 42, p: Foo::Space(50).into() }; println!("We can explicitly deref: {}", *adt.p); println!("Or use deref coercion: {}", adt.p); println!("Or we can use borrow: {}", &adt.p); - -// And if all that is too complicated just use the inherent methods: - -println!("Explicitly get a reference: {}", adt.p.as_inner()); -println!("Or the inner type: {}", adt.p.into_inner()); ``` ## Minimum Supported Rust Version (MSRV)