philip-peterson / destructure_traitobject

Rust library for destructuring a trait object. (Forked from rust-traitobject)
Apache License 2.0
2 stars 2 forks source link

question about traitobject dependency #2

Open rlovell3 opened 5 days ago

rlovell3 commented 5 days ago

Philip,
Thanks for writing destructure_traitobject. I need your help understanding it.

I'm trying to pin down the warning I get about traitobject. I traced it to the crate log4rs, which I've used in my project. Log4rs depends on destructure_traitobject, and it seems that destructure_traitobject depends on traitobject.

Being that destructure_traitobject was written by you to fix the issues with traitobject, does this suggest that I can ignore the warning, and not worry about the future warning with respect to traitobject?

When Rust finally breaks from any contact with traitobject, how will destructure_traitobject continue to compile?

philip-peterson commented 3 days ago

Destructure_traitobject does not depend on traitobject, instead it is a fork of traitobject: https://crates.io/crates/destructure_traitobject/0.3.0/dependencies

I do not know what the warning you are getting says. Can you paste the message? Is it a security warning of some kind?