From 45ea891ae7ba2e545c4c810f43bbc657e760a8e5 Mon Sep 17 00:00:00 2001 From: ripytide Date: Fri, 21 Apr 2023 15:33:24 +0100 Subject: [PATCH] bump version and add link to previous crate name --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 3 +++ rustfmt.toml | 11 +++++++---- src/lib.rs | 3 +++ 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b2ff34a..ecc78b4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -36,7 +36,7 @@ checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" [[package]] name = "discrete_range_map" -version = "0.3.2" +version = "0.4.0" dependencies = [ "btree_monstrousity", "either", diff --git a/Cargo.toml b/Cargo.toml index 9984352..877f886 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "discrete_range_map" -version = "0.3.2" +version = "0.4.0" authors = ["James Forster "] edition = "2021" description = """ diff --git a/README.md b/README.md index c0ea59f..9b1186e 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,8 @@ all from scratch. It is however worth noting the library eventually expanded and evolved from it's origins. +This crate was previously named [`range_bounds_map`]. + # Similar Crates Here are some relevant crates I found whilst searching around the @@ -232,3 +234,4 @@ topic area: [`interval-mathematics`]: https://en.wikipedia.org/wiki/Interval_(mathematics) [`actual infinity`]: https://en.wikipedia.org/wiki/Actual_infinity [`finite`]: https://en.wiktionary.org/wiki/finite#Adjective +[`range_bounds_map`]: https://docs.rs/range_bounds_map diff --git a/rustfmt.toml b/rustfmt.toml index 824fbfe..ddba136 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,10 +1,13 @@ -# todo this file put back to normal - -# - rename crate too # - add link to previous crate on readme # - update shared descriptions to note the discreteness # - fix doc.rs links in docs to print at new crate name -# - fix doc warnings +edition="2024" +version = "Two" hard_tabs=true imports_granularity="Module" group_imports="StdExternalCrate" +max_width=80 +format_code_in_doc_comments=true +doc_comment_code_block_width=70 +unstable_features = true +comment_width=70 diff --git a/src/lib.rs b/src/lib.rs index b8cab4c..11b7486 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -193,6 +193,8 @@ along with discrete_range_map. If not, see . //! It is however worth noting the library eventually expanded and evolved //! from it's origins. //! +//! This crate was previously named [`range_bounds_map`]. +//! //! # Similar Crates //! //! Here are some relevant crates I found whilst searching around the @@ -240,6 +242,7 @@ along with discrete_range_map. If not, see . //! [`interval-mathematics`]: https://en.wikipedia.org/wiki/Interval_(mathematics) //! [`actual infinity`]: https://en.wikipedia.org/wiki/Actual_infinity //! [`finite`]: https://en.wiktionary.org/wiki/finite#Adjective +//! [`range_bounds_map`]: https://docs.rs/range_bounds_map #![feature(let_chains)] #![feature(btree_cursors)]