drone-micropython-core 0.1.1

MicroPython for Drone.
//! Bindings to [MicroPython] for [Drone].
//!
//! # Development
//!
//! Check:
//!
//! ```sh
//! $ RUSTC_WRAPPER=./clippy-wrapper.sh cargo check \
//!   --target "i686-unknown-linux-musl" -p drone-micropython-raw
//! $ RUSTC_WRAPPER=./clippy-wrapper.sh cargo check --features "fileio" \
//!   --target "i686-unknown-linux-musl" -p drone-micropython-core
//! $ RUSTC_WRAPPER=./clippy-wrapper.sh xargo check \
//!   --target "thumbv7m-none-eabi" -p drone-micropython-stm32
//! ```
//!
//! Test:
//!
//! ```sh
//! $ RUSTC_WRAPPER=./rustc-wrapper.sh cargo test \
//!   --target "i686-unknown-linux-musl" -p drone-micropython-raw
//! $ RUSTC_WRAPPER=./rustc-wrapper.sh cargo test --features "fileio" \
//!   --target "i686-unknown-linux-musl" -p drone-micropython-core
//! $ RUSTC_WRAPPER=./rustc-wrapper.sh cargo drone test \
//!   -p drone-micropython-stm32
//! ```
//!
//! Readme update:
//!
//! ```sh
//! $ cargo readme -o README.md
//! $ cargo readme -r raw -t ../README.tpl -o README.md
//! $ cargo readme -r stm32 -t ../README.tpl -o README.md
//! ```
//!
//! [MicroPython]: https://micropython.org/
//! [Drone]: https://github.com/drone-os/drone-core

#![feature(alloc)]
#![feature(generators)]
#![feature(prelude_import)]
#![feature(untagged_unions)]
#![warn(missing_docs)]
#![doc(html_root_url = "https://docs.rs/drone-micropython-core/0.1.1")]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(feature = "cargo-clippy", allow(precedence, inline_always))]

extern crate alloc;
#[cfg(feature = "std")]
extern crate core;
#[macro_use]
extern crate drone_core;
extern crate drone_micropython_raw;
extern crate failure;
#[macro_use]
extern crate failure_derive;
extern crate futures;

pub mod exec;
#[cfg(feature = "io")]
pub mod io;
pub mod rt;

mod cmd;
mod mp_sess;

pub use cmd::{Cmd, CmdRes};
pub use mp_sess::{MpSessCore, MpSessResCore};

#[prelude_import]
#[allow(unused_imports)]
use drone_core::prelude::*;