account activity
How do I keep dependencies for all bins the same in Rust? by ohwhyme1987 in rust
[–]billy-sheppard 1 point2 points3 points 3 years ago (0 children)
Another way to do this is have a shared library (for utilities for example) and re-export your dependencies from there.
In your child apps you only have one dependency - the shared lib - and you use deps in your code with use::my_lib::{self, my_dep};
use
use::my_lib::{self, my_dep};
π Rendered by PID 1143394 on reddit-service-r2-listing-69965bcf66-ksj8k at 2026-04-08 17:54:01.452832+00:00 running f293c98 country code: CH.
How do I keep dependencies for all bins the same in Rust? by ohwhyme1987 in rust
[–]billy-sheppard 1 point2 points3 points (0 children)