bircni / get-size2

Determine the size in bytes an object occupies inside RAM.
MIT License
0 stars 0 forks source link

Feature: Remove need of use get_size::GetSize for #[derive(get_size::GetSize)] #3

Closed bircni closed 3 weeks ago

bircni commented 3 weeks ago

This was previously raised by @drmingdrmer in https://github.com/DKerp/get-size/pull/21

This commit enhances the user experience by eliminating the need for explicit import statements when using #[derive(get_size::GetSize)]. Previously, the use of this derive required an accompanying use get_size::GetSize; statement, without which the compiler would raise a not-found trait error.

This commit simplifies the development process by streamlining the use of the GetSize derive and improving compatibility with generated code bases.