Mercurial > lbo > hg > memoize
changeset 64:8a7d29f97802
merge back
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Tue, 23 Nov 2021 14:06:53 +0100 |
parents | ce8be7096087 (diff) 5d5fa61ce28a (current diff) |
children | f52e84dfb3fa |
files | |
diffstat | 3 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgtags Tue Nov 23 14:05:17 2021 +0100 +++ b/.hgtags Tue Nov 23 14:06:53 2021 +0100 @@ -4,3 +4,4 @@ d701ff3e25d9a1d31f28b46e5d0f224957b4f2cf v0.1.6 d713ed3952ac16f6af929f9cbd924f60ceb298e2 v0.1.7 853675bcf6abc57f3c55b6a39546ff0330d5a4ff v0.1.8 +9c7a2ca7c2fcf572ea552cbff428d05cdcd4e41e v0.1.9
--- a/Cargo.toml Tue Nov 23 14:05:17 2021 +0100 +++ b/Cargo.toml Tue Nov 23 14:06:53 2021 +0100 @@ -1,6 +1,6 @@ [package] name = "memoize" -version = "0.1.8" +version = "0.1.9" description = "Attribute macro for auto-memoizing functions with somewhat-simple signatures" keywords = ["memoization", "cache", "proc-macro"] authors = ["Lewin Bormann <lewin@lewin-bormann.info>"] @@ -18,7 +18,7 @@ lazy_static = "1.4" proc-macro2 = "1.0" quote = "1.0" -syn = { version = "1.0, <1.0.58", features = ["full"] } +syn = { version = "1.0", features = ["full"] } lru = { version = "0.6", optional = true }
--- a/src/lib.rs Tue Nov 23 14:05:17 2021 +0100 +++ b/src/lib.rs Tue Nov 23 14:06:53 2021 +0100 @@ -1,10 +1,10 @@ #![crate_type = "proc-macro"] #![allow(unused_imports)] // Spurious complaints about a required trait import. -use syn::{self, export::ToTokens, parse_macro_input, spanned::Spanned, ItemFn}; +use syn::{self, parse_macro_input, spanned::Spanned, ItemFn}; use proc_macro::TokenStream; -use quote::{self}; +use quote::{self, ToTokens}; // This implementation of the storage backend does not depend on any more crates. #[cfg(not(feature = "full"))] @@ -46,7 +46,6 @@ #[cfg(feature = "full")] mod store { use proc_macro::TokenStream; - use syn::export::ToTokens; use syn::{parse as p, Expr}; #[derive(Default, Clone)]