I am trying to import something into my subcrate in a Cargo workspace:
#![no_std]
use uart_16550::SerialPort;
but I am getting the following error:
unresolved import `uart_16550::SerialPort`
no `SerialPort` in the root
My Cargo.toml in the subcrate:
[package]
name = "serial"
version = "0.1.0"
edition = "2021"
[lib]
name = "serial"
[dependencies]
spin = "0.9.8"
uart_16550 = "0.2.19"
[dependencies.lazy_static]
version = "1.0"
features = ["spin_no_std"]
Any other information you need to know?
