bump msrv
This commit is contained in:
parent
79937e86eb
commit
13c7bcd04d
9 changed files with 5 additions and 15 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -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
3
Cargo.lock
generated
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)]
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use crate::core::EString;
|
||||
use std::convert::TryFrom;
|
||||
|
||||
//===========================================================================//
|
||||
// TRIM //
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use crate::core::EString;
|
||||
use std::convert::TryFrom;
|
||||
|
||||
impl TryFrom<EString> for bool {
|
||||
type Error = ();
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
use crate::core::EString;
|
||||
use std::convert::TryFrom;
|
||||
|
||||
#[doc(hidden)]
|
||||
macro_rules! from_env_string_numbers_impl {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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`).
|
||||
|
|
Reference in a new issue