David Brown | 353610d | 2017-11-06 11:31:31 -0700 | [diff] [blame^] | 1 | #[macro_use] extern crate lazy_static; |
David Brown | 6390277 | 2017-07-12 09:47:49 -0600 | [diff] [blame] | 2 | extern crate libc; |
| 3 | #[macro_use] extern crate log; |
| 4 | extern crate simflash; |
| 5 | |
David Brown | f52272c | 2017-07-12 09:56:16 -0600 | [diff] [blame] | 6 | mod area; |
David Brown | 6390277 | 2017-07-12 09:47:49 -0600 | [diff] [blame] | 7 | pub mod c; |
David Brown | f52272c | 2017-07-12 09:56:16 -0600 | [diff] [blame] | 8 | |
| 9 | // The API needs to be public, even though it isn't intended to be called by Rust code, but the |
| 10 | // functions are exported to C code. |
David Brown | 6390277 | 2017-07-12 09:47:49 -0600 | [diff] [blame] | 11 | pub mod api; |
David Brown | f52272c | 2017-07-12 09:56:16 -0600 | [diff] [blame] | 12 | |
| 13 | pub use area::{AreaDesc, FlashId}; |