This crate has been superseded by stm32-usbd which supports the F103 chips as well as many other STM32 parts with the same USB peripheral.
usb-device implementation for STM32F103 microcontrollers.
See the examples for an example of a custom class and a minimalistic USB serial port device.