Add thiserror-impl crate to be the proc macro

This commit is contained in:
David Tolnay 2019-10-08 23:21:46 -07:00
parent b67ea2e157
commit 1987e628fa
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 12 additions and 0 deletions

View File

@ -3,3 +3,6 @@ name = "thiserror"
version = "0.0.0"
authors = ["David Tolnay <dtolnay@gmail.com>"]
edition = "2018"
[dependencies]
thiserror-impl = { version = "0.0", path = "impl" }

8
impl/Cargo.toml Normal file
View File

@ -0,0 +1,8 @@
[package]
name = "thiserror-impl"
version = "0.0.0"
authors = ["David Tolnay <dtolnay@gmail.com>"]
edition = "2018"
[lib]
proc-macro = true

1
src/lib.rs Normal file
View File

@ -0,0 +1 @@
pub use thiserror_impl::*;