mdekstrand commented on issue #1002: URL: https://github.com/apache/arrow-rs/issues/1002#issuecomment-4917632066
> Doesn't parquet_derive macros add calls to things in the parquet crate? I don't understand how it would work to not depend on parquet (though maybe a PR would make it clearer) Yes, but the macro doesn't need to depend on the crate in order to do that. Macros just emit Rust syntax tokens, which the compiler then interprets in the contexts of the crates being linked into the program that uses the macro. Any program *using* `parquet_derive` needs to depend on `parquet` (and it already needs to, because transitive dependencies aren't available to use directly in a crate), but macros don't need to depend on things they generate code for. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
