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