blob: 9f5c850a743452384505ff5eca8f1ebc6f5d2c43 [file] [log] [blame]
David Brown353610d2017-11-06 11:31:31 -07001#[macro_use] extern crate lazy_static;
David Brown63902772017-07-12 09:47:49 -06002extern crate libc;
3#[macro_use] extern crate log;
4extern crate simflash;
5
David Brownf52272c2017-07-12 09:56:16 -06006mod area;
David Brown63902772017-07-12 09:47:49 -06007pub mod c;
David Brownf52272c2017-07-12 09:56:16 -06008
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 Brown63902772017-07-12 09:47:49 -060011pub mod api;
David Brownf52272c2017-07-12 09:56:16 -060012
David Brown65de6d12019-01-02 11:38:38 -070013pub use crate::area::{AreaDesc, FlashId};