mdekstrand commented on issue #1002:
URL: https://github.com/apache/arrow-rs/issues/1002#issuecomment-4920165345

   Serde's derive crate does not depend on the main crate: 
https://docs.rs/serde_derive/latest/serde_derive/
   
   In fact, the main crate depends on the derive crate (when the `"derive"` 
feature is activated), so that client code can simply depend on `serde` with 
the `"derive"` feature to get the derivation macros without needing to depend 
on another crate.
   
   As I understand the Rust macro system, depending on the crate doesn't 
necessarily ensure you're calling supported APIs anyway - since macros just 
emit tokens, AFAIK there isn't anything that checks the validity until the 
compiler is actually compiling the program that *uses* the macro.


-- 
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]

Reply via email to