File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " uart_16550"
3- version = " 0.2.13 "
3+ version = " 0.2.14 "
44authors = [" Lachlan Sneff <lachlan.sneff@gmail.com>" , " Philipp Oppermann <dev@phil-opp.com>" ]
55description = " Minimal support for uart_16550 serial output."
66license = " MIT"
Original file line number Diff line number Diff line change 11# Unreleased
22
3+ # 0.2.14 – 2021-05-14
4+
5+ - ` SerialPort::new() ` no longer requires ` nightly ` feature ([ #16 ] ( https://github.com/rust-osdev/uart_16550/pull/16 ) )
6+
37# 0.2.13 – 2021-04-30
48
59- Update x86_64 dependency and make it more robust ([ #14 ] ( https://github.com/rust-osdev/uart_16550/pull/14 ) )
Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ let data = serial_port.receive();
4343#![ warn( missing_docs) ]
4444#![ cfg_attr( feature = "nightly" , feature( const_ptr_offset) ) ]
4545
46- use bitflags:: bitflags;
47-
4846#[ cfg( not( any( feature = "stable" , feature = "nightly" ) ) ) ]
4947compile_error ! ( "Either the `stable` or `nightly` feature must be enabled" ) ;
5048
49+ use bitflags:: bitflags;
50+
5151macro_rules! wait_for {
5252 ( $cond: expr) => {
5353 while !$cond {
@@ -85,4 +85,4 @@ bitflags! {
8585 const OUTPUT_EMPTY = 1 << 5 ;
8686 // 6 and 7 unknown
8787 }
88- }
88+ }
You can’t perform that action at this time.
0 commit comments