Made footswitch-rs work with rustc >=1.30. Solves #8
This commit is contained in:
parent
00070237e7
commit
dc9def512c
11
src/main.rs
11
src/main.rs
@ -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::*;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user