From 4658e5303d3dc5aa3579119b0d0724cab3e98308 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Sat, 14 Apr 2018 12:41:42 +0200 Subject: Update syn and quote --- README.md | 11 ++++++++--- validator_derive/Cargo.toml | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3f8d4d1..b1153e3 100644 --- a/README.md +++ b/README.md @@ -163,9 +163,9 @@ Examples: ``` ### phone -Tests whether the String is a valid phone number (in international format, ie. -containing the country indicator like `+14152370800` for an US number — where `4152370800` -is the national number equivalent, which is seen as invalid). +Tests whether the String is a valid phone number (in international format, ie. +containing the country indicator like `+14152370800` for an US number — where `4152370800` +is the national number equivalent, which is seen as invalid). To use this validator, you must enable the `phone` feature for the `validator_derive` crate. This validator doesn't take any arguments: `#[validate(phone)]`; @@ -237,6 +237,11 @@ For example, the following attributes all work: ### validator_derive +#### 0.6.5 (2018/04/14) + +- Fix path for regex starting with `::` +- Update syn and quote + #### 0.6.4 (2018/03/20) - Support `Option>` types diff --git a/validator_derive/Cargo.toml b/validator_derive/Cargo.toml index 12930fc..b52c8b5 100644 --- a/validator_derive/Cargo.toml +++ b/validator_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "validator_derive" -version = "0.6.4" +version = "0.6.5" authors = ["Vincent Prouillet "] license = "MIT" description = "Macros 1.1 implementation of #[derive(Validate)]" @@ -15,8 +15,8 @@ proc-macro = true phone = ["validator/phone"] [dependencies] -syn = { version = "0.12", features = ["extra-traits"] } -quote = "0.4" +syn = { version = "0.13", features = ["extra-traits"] } +quote = "0.5" if_chain = "0" validator = { version = "0.6", path = "../validator"} -- cgit v1.2.3