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 1
1
[package ]
2
2
name = " uart_16550"
3
- version = " 0.2.13 "
3
+ version = " 0.2.14 "
4
4
authors = [" Lachlan Sneff <lachlan.sneff@gmail.com>" , " Philipp Oppermann <dev@phil-opp.com>" ]
5
5
description = " Minimal support for uart_16550 serial output."
6
6
license = " MIT"
Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
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
+
3
7
# 0.2.13 – 2021-04-30
4
8
5
9
- 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();
43
43
#![ warn( missing_docs) ]
44
44
#![ cfg_attr( feature = "nightly" , feature( const_ptr_offset) ) ]
45
45
46
- use bitflags:: bitflags;
47
-
48
46
#[ cfg( not( any( feature = "stable" , feature = "nightly" ) ) ) ]
49
47
compile_error ! ( "Either the `stable` or `nightly` feature must be enabled" ) ;
50
48
49
+ use bitflags:: bitflags;
50
+
51
51
macro_rules! wait_for {
52
52
( $cond: expr) => {
53
53
while !$cond {
@@ -85,4 +85,4 @@ bitflags! {
85
85
const OUTPUT_EMPTY = 1 << 5 ;
86
86
// 6 and 7 unknown
87
87
}
88
- }
88
+ }
You can’t perform that action at this time.
0 commit comments