fix(trixy): Add thiserror dependency, as it's used in generated code

This commit is contained in:
Benedikt Peetz 2024-03-24 21:08:28 +01:00
parent 8b02d13dae
commit e72c212f0c
Signed by: bpeetz
GPG Key ID: A5E94010C3A642AD
2 changed files with 7 additions and 0 deletions

View File

@ -26,3 +26,4 @@ edition = "2021"
trixy-parser = { path = "./trixy-parser" } trixy-parser = { path = "./trixy-parser" }
trixy-macros = { path = "./trixy-macros" } trixy-macros = { path = "./trixy-macros" }
trixy-types = { path = "./trixy-types" } trixy-types = { path = "./trixy-types" }
thiserror = "1.0.57"

View File

@ -26,6 +26,12 @@ pub mod types {
pub mod macros { pub mod macros {
pub use trixy_macros::*; pub use trixy_macros::*;
} }
pub mod __private {
//! This module contains crates needed for the generated code, it should not be used by humans.
pub mod thiserror {
pub use thiserror::*;
}
}
pub mod oneshot { pub mod oneshot {
//! This module provides a synced version of tokio's oneshot channel. //! This module provides a synced version of tokio's oneshot channel.