mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-04 21:37:57 +03:00
Add thiserror-impl crate to be the proc macro
This commit is contained in:
parent
b67ea2e157
commit
1987e628fa
3 changed files with 12 additions and 0 deletions
|
@ -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
8
impl/Cargo.toml
Normal 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
1
src/lib.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub use thiserror_impl::*;
|
Loading…
Add table
Add a link
Reference in a new issue