Made footswitch-rs work with rustc >=1.30. Solves #8

This commit is contained in:
Dennis Potter 2018-11-13 12:32:42 +01:00
parent 00070237e7
commit dc9def512c
2 changed files with 5 additions and 8 deletions

View File

@ -2,17 +2,16 @@
//! //!
//! `footswitch-rs` enables you to use footswitches of <xxx> //! `footswitch-rs` enables you to use footswitches of <xxx>
//! //!
pub mod key_operations;
pub mod pedal_operations;
#[macro_use]
mod messages;
#[macro_use]
extern crate structopt; extern crate structopt;
extern crate users; extern crate users;
extern crate colored; extern crate colored;
#[macro_use]
pub mod messages;
pub mod key_operations;
pub mod pedal_operations;
use std::process; use std::process;
use structopt::StructOpt; use structopt::StructOpt;
use messages::*; use messages::*;

View File

@ -1,5 +1,3 @@
#[macro_use]
#[path = "messages.rs"] pub mod messages;
#[path = "key_operations.rs"] pub mod key_operations; #[path = "key_operations.rs"] pub mod key_operations;
extern crate hidapi; extern crate hidapi;