Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
Update to syn, proc-macro2 and quote "1.0"; Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pjkundert committed Dec 9, 2020
1 parent 749d4df commit e112954
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
8 changes: 4 additions & 4 deletions sm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sm"
version = "0.9.0"
version = "1.0.0"
authors = ["Jean Mertz <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "💋 SM – a static State Machine library"
Expand All @@ -12,13 +12,13 @@ exclude = ["examples"]
edition = "2018"

[dependencies]
sm_macro = { version = "0.9", path = "../sm_macro", optional = true }
sm_macro = { version = "1.0", path = "../sm_macro", optional = true }

[dev-dependencies]
compiletest_rs = { version = "0.3", features = [ "stable" ] }
criterion = "0.2"
criterion = "0.3"
rand = "0.5"
sm_macro = { version = "0.9", path = "../sm_macro" }
sm_macro = { version = "1.0", path = "../sm_macro" }

[features]
macro = ["sm_macro"]
Expand Down
10 changes: 5 additions & 5 deletions sm_macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sm_macro"
version = "0.9.0"
version = "1.0.0"
authors = ["Jean Mertz <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "💋 SM – a static State Machine macro"
Expand All @@ -11,12 +11,12 @@ readme = "crates-io.md"
edition = "2018"

[dependencies]
proc-macro2 = "0.4"
quote = "0.6"
syn = "0.15"
proc-macro2 = "1.0"
quote = "1.0"
syn = "1.0"

[dev-dependencies]
sm = { version = "0.9", path = "../sm" }
sm = { version = "1.0", path = "../sm" }

[lib]
proc-macro = true
Expand Down
2 changes: 0 additions & 2 deletions sm_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
)]
#![deny(clippy::all)]

extern crate proc_macro;

use crate::sm::machine::Machines;
use proc_macro::TokenStream;
use quote::quote;
Expand Down

0 comments on commit e112954

Please sign in to comment.