bump msrv

This commit is contained in:
Dmitriy Pleshevskiy 2022-07-25 13:31:13 +03:00
parent 79937e86eb
commit 13c7bcd04d
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
9 changed files with 5 additions and 15 deletions

View file

@ -19,7 +19,7 @@ jobs:
- macos-latest
- windows-latest
rust:
- 1.51.0 # msrv
- 1.59.0 # msrv
- stable
- beta
- nightly

3
Cargo.lock generated
View file

@ -1,7 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "estring"
version = "0.1.2"

View file

@ -2,18 +2,14 @@
name = "estring"
description = "A simple way to parse a string using type annotations"
version = "0.1.2"
edition = "2018"
edition = "2021"
authors = ["Dmitriy Pleshevskiy <dmitriy@ideascup.me>"]
readme = "README.md"
repository = "https://github.com/pleshevskiy/estring"
license = "MIT"
keywords = ["parsing", "type", "annotations", "customizable"]
categories = ["data-structures", "parsing"]
# rust-version = "1.51.0" # The first version of Cargo that supports this field is 1.56.0
[package.metadata]
msrv = "1.51.0"
rust-version = "1.59.0"
[package.metadata.docs.rs]
all-features = true

View file

@ -22,7 +22,7 @@ pub mod low;
pub use low::*;
use crate::ParseError;
use std::convert::{Infallible, TryFrom};
use std::convert::Infallible;
/// Wrapper under String type.
#[derive(Debug, Default, PartialEq, Eq, Clone)]

View file

@ -1,5 +1,4 @@
use crate::core::EString;
use std::convert::TryFrom;
//===========================================================================//
// TRIM //

View file

@ -1,5 +1,4 @@
use crate::core::EString;
use std::convert::TryFrom;
impl TryFrom<EString> for bool {
type Error = ();

View file

@ -1,5 +1,4 @@
use crate::core::EString;
use std::convert::TryFrom;
#[doc(hidden)]
macro_rules! from_env_string_numbers_impl {

View file

@ -4,7 +4,6 @@
//!
use crate::core::EString;
use std::convert::TryFrom;
use std::fmt::Write;
/// The error type for operations interacting with parsing tuples. Possibly returned from

View file

@ -4,7 +4,6 @@
//!
use crate::core::EString;
use std::convert::TryFrom;
use std::fmt::Write;
/// Wrapper for ``Vec`` to split string by a separator (`SEP`).