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

master
Dennis Potter 4 years ago
parent 00070237e7
commit dc9def512c
  1. 11
      src/main.rs
  2. 2
      src/pedal_operations.rs

@ -2,17 +2,16 @@
//!
//! `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 users;
extern crate colored;
#[macro_use]
pub mod messages;
pub mod key_operations;
pub mod pedal_operations;
use std::process;
use structopt::StructOpt;
use messages::*;

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

Loading…
Cancel
Save