diff options
-rw-r--r-- | Cargo.lock | 33 | ||||
-rw-r--r-- | crates/proc_macro_api/Cargo.toml | 1 | ||||
-rw-r--r-- | crates/proc_macro_api/src/msg.rs | 3 |
3 files changed, 1 insertions, 36 deletions
diff --git a/Cargo.lock b/Cargo.lock index d724d8962..9ddbeac47 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -1182,7 +1182,6 @@ dependencies = [ | |||
1182 | "log", | 1182 | "log", |
1183 | "serde", | 1183 | "serde", |
1184 | "serde_json", | 1184 | "serde_json", |
1185 | "serde_stacker", | ||
1186 | "tt", | 1185 | "tt", |
1187 | ] | 1186 | ] |
1188 | 1187 | ||
@@ -1241,15 +1240,6 @@ dependencies = [ | |||
1241 | ] | 1240 | ] |
1242 | 1241 | ||
1243 | [[package]] | 1242 | [[package]] |
1244 | name = "psm" | ||
1245 | version = "0.1.12" | ||
1246 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1247 | checksum = "3abf49e5417290756acfd26501536358560c4a5cc4a0934d390939acb3e7083a" | ||
1248 | dependencies = [ | ||
1249 | "cc", | ||
1250 | ] | ||
1251 | |||
1252 | [[package]] | ||
1253 | name = "pulldown-cmark" | 1243 | name = "pulldown-cmark" |
1254 | version = "0.8.0" | 1244 | version = "0.8.0" |
1255 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1245 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -1568,16 +1558,6 @@ dependencies = [ | |||
1568 | ] | 1558 | ] |
1569 | 1559 | ||
1570 | [[package]] | 1560 | [[package]] |
1571 | name = "serde_stacker" | ||
1572 | version = "0.1.4" | ||
1573 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1574 | checksum = "f4c92391a63e3b83f77334d8beaaf11bac4c900f3769483e543bf76a81bf8ee2" | ||
1575 | dependencies = [ | ||
1576 | "serde", | ||
1577 | "stacker", | ||
1578 | ] | ||
1579 | |||
1580 | [[package]] | ||
1581 | name = "sharded-slab" | 1561 | name = "sharded-slab" |
1582 | version = "0.1.0" | 1562 | version = "0.1.0" |
1583 | source = "registry+https://github.com/rust-lang/crates.io-index" | 1563 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -1623,19 +1603,6 @@ dependencies = [ | |||
1623 | ] | 1603 | ] |
1624 | 1604 | ||
1625 | [[package]] | 1605 | [[package]] |
1626 | name = "stacker" | ||
1627 | version = "0.1.12" | ||
1628 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
1629 | checksum = "21ccb4c06ec57bc82d0f610f1a2963d7648700e43a6f513e564b9c89f7991786" | ||
1630 | dependencies = [ | ||
1631 | "cc", | ||
1632 | "cfg-if 0.1.10", | ||
1633 | "libc", | ||
1634 | "psm", | ||
1635 | "winapi 0.3.9", | ||
1636 | ] | ||
1637 | |||
1638 | [[package]] | ||
1639 | name = "stdx" | 1606 | name = "stdx" |
1640 | version = "0.0.0" | 1607 | version = "0.0.0" |
1641 | 1608 | ||
diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc_macro_api/Cargo.toml index a8e128d55..1af2bbca7 100644 --- a/crates/proc_macro_api/Cargo.toml +++ b/crates/proc_macro_api/Cargo.toml | |||
@@ -12,7 +12,6 @@ doctest = false | |||
12 | [dependencies] | 12 | [dependencies] |
13 | serde = { version = "1.0", features = ["derive"] } | 13 | serde = { version = "1.0", features = ["derive"] } |
14 | serde_json = "1.0" | 14 | serde_json = "1.0" |
15 | serde_stacker = "0.1" | ||
16 | log = "0.4.8" | 15 | log = "0.4.8" |
17 | crossbeam-channel = "0.5.0" | 16 | crossbeam-channel = "0.5.0" |
18 | jod-thread = "0.1.1" | 17 | jod-thread = "0.1.1" |
diff --git a/crates/proc_macro_api/src/msg.rs b/crates/proc_macro_api/src/msg.rs index 43d13a764..4cd572101 100644 --- a/crates/proc_macro_api/src/msg.rs +++ b/crates/proc_macro_api/src/msg.rs | |||
@@ -63,8 +63,7 @@ pub trait Message: Serialize + DeserializeOwned { | |||
63 | // Note that some proc-macro generate very deep syntax tree | 63 | // Note that some proc-macro generate very deep syntax tree |
64 | // We have to disable the current limit of serde here | 64 | // We have to disable the current limit of serde here |
65 | deserializer.disable_recursion_limit(); | 65 | deserializer.disable_recursion_limit(); |
66 | let deserializer = serde_stacker::Deserializer::new(&mut deserializer); | 66 | Some(Self::deserialize(&mut deserializer)?) |
67 | Some(Self::deserialize(deserializer)?) | ||
68 | } | 67 | } |
69 | }) | 68 | }) |
70 | } | 69 | } |