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
|
- macos-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
rust:
|
rust:
|
||||||
- 1.51.0 # msrv
|
- 1.59.0 # msrv
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
- nightly
|
- nightly
|
||||||
|
|
3
Cargo.lock
generated
3
Cargo.lock
generated
|
@ -1,7 +1,6 @@
|
||||||
# This file is automatically @generated by Cargo.
|
# This file is automatically @generated by Cargo.
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
version = 3
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "estring"
|
name = "estring"
|
||||||
version = "0.1.2"
|
version = "0.1.2"
|
||||||
|
|
||||||
|
|
|
@ -2,18 +2,14 @@
|
||||||
name = "estring"
|
name = "estring"
|
||||||
description = "A simple way to parse a string using type annotations"
|
description = "A simple way to parse a string using type annotations"
|
||||||
version = "0.1.2"
|
version = "0.1.2"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
authors = ["Dmitriy Pleshevskiy <dmitriy@ideascup.me>"]
|
authors = ["Dmitriy Pleshevskiy <dmitriy@ideascup.me>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/pleshevskiy/estring"
|
repository = "https://github.com/pleshevskiy/estring"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
keywords = ["parsing", "type", "annotations", "customizable"]
|
keywords = ["parsing", "type", "annotations", "customizable"]
|
||||||
categories = ["data-structures", "parsing"]
|
categories = ["data-structures", "parsing"]
|
||||||
|
rust-version = "1.59.0"
|
||||||
# rust-version = "1.51.0" # The first version of Cargo that supports this field is 1.56.0
|
|
||||||
|
|
||||||
[package.metadata]
|
|
||||||
msrv = "1.51.0"
|
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
|
|
|
@ -22,7 +22,7 @@ pub mod low;
|
||||||
pub use low::*;
|
pub use low::*;
|
||||||
|
|
||||||
use crate::ParseError;
|
use crate::ParseError;
|
||||||
use std::convert::{Infallible, TryFrom};
|
use std::convert::Infallible;
|
||||||
|
|
||||||
/// Wrapper under String type.
|
/// Wrapper under String type.
|
||||||
#[derive(Debug, Default, PartialEq, Eq, Clone)]
|
#[derive(Debug, Default, PartialEq, Eq, Clone)]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
use crate::core::EString;
|
use crate::core::EString;
|
||||||
use std::convert::TryFrom;
|
|
||||||
|
|
||||||
//===========================================================================//
|
//===========================================================================//
|
||||||
// TRIM //
|
// TRIM //
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
use crate::core::EString;
|
use crate::core::EString;
|
||||||
use std::convert::TryFrom;
|
|
||||||
|
|
||||||
impl TryFrom<EString> for bool {
|
impl TryFrom<EString> for bool {
|
||||||
type Error = ();
|
type Error = ();
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
use crate::core::EString;
|
use crate::core::EString;
|
||||||
use std::convert::TryFrom;
|
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
macro_rules! from_env_string_numbers_impl {
|
macro_rules! from_env_string_numbers_impl {
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
//!
|
//!
|
||||||
|
|
||||||
use crate::core::EString;
|
use crate::core::EString;
|
||||||
use std::convert::TryFrom;
|
|
||||||
use std::fmt::Write;
|
use std::fmt::Write;
|
||||||
|
|
||||||
/// The error type for operations interacting with parsing tuples. Possibly returned from
|
/// The error type for operations interacting with parsing tuples. Possibly returned from
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
//!
|
//!
|
||||||
|
|
||||||
use crate::core::EString;
|
use crate::core::EString;
|
||||||
use std::convert::TryFrom;
|
|
||||||
use std::fmt::Write;
|
use std::fmt::Write;
|
||||||
|
|
||||||
/// Wrapper for ``Vec`` to split string by a separator (`SEP`).
|
/// Wrapper for ``Vec`` to split string by a separator (`SEP`).
|
||||||
|
|
Reference in a new issue