File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
52
52
([ #206 ] ( https://github.com/JelteF/derive_more/pull/206 ) )
53
53
- Add support for container format in ` Debug ` derive with the same syntax as ` Display ` derives.
54
54
([ #279 ] ( https://github.com/JelteF/derive_more/pull/279 ) )
55
+ - ` derive_more::derive ` module exporting only macros, without traits. ([ #290 ] ( https://github.com/JelteF/derive_more/pull/290 ) )
55
56
56
57
### Changed
57
58
Original file line number Diff line number Diff line change @@ -57,6 +57,14 @@ pub mod __private {
57
57
pub use crate :: vendor:: thiserror:: aserror:: AsDynError ;
58
58
}
59
59
60
+ /// Module containing macro definitions only, without corresponding traits.
61
+ ///
62
+ /// Use it in your import paths, if you don't want to import traits, but only macros.
63
+ pub mod derive {
64
+ #[ doc( inline) ]
65
+ pub use derive_more_impl:: * ;
66
+ }
67
+
60
68
// The modules containing error types and other helpers.
61
69
62
70
#[ cfg( feature = "add" ) ]
You can’t perform that action at this time.
0 commit comments