Open mainrs opened 1 year ago
Hello!
Is inventory supposed to work when using a multi-crate structure? I sketched out my project structure here: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=9da89efa993ce084845d5d7417cac9ae
inventory
I use Rust 1.62.1 on Linux. I ran cargo run --release -p cli.
cargo run --release -p cli
I've had a similar problem with a multi-crate setup. What worked for me was adding extern crate declarations for the plugin crates (IMPL1/IPML2 in your crates) to the consumer (LIB for you).
extern crate
IMPL1
IPML2
LIB
Does that work?
Hello!
Is
inventory
supposed to work when using a multi-crate structure? I sketched out my project structure here: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=9da89efa993ce084845d5d7417cac9aeI use Rust 1.62.1 on Linux. I ran
cargo run --release -p cli
.