Skip to content

Subscription object not found in model during compile

Hey! I was trying to use this as a dependency and got dependency compile error so I tried to clone the repo and got the same error.

I think there might be an issue with the import.

error[E0432]: unresolved import `barter_data::model::Subscription`
 --> src/data/live.rs:4:26
  |
4 |     model::{MarketEvent, Subscription},
  |                          ^^^^^^^^^^^^
  |                          |
  |                          no `Subscription` in `model`
  |                          help: a similar name exists in the module (notice the capitalization): `subscription`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `barter` due to previous error
Edited by Chetan Bhasin