Browse Source

Use Rust 2018 edition

The changes were done automatically using:

$ cargo +nightly fix --edition
add-osctime-alias-for-time-tags
Andreas Linz 10 months ago
parent
commit
1eb8a79c91
No known key found for this signature in database GPG Key ID: 5E50C5D9439F1E02
4 changed files with 8 additions and 8 deletions
  1. +3
    -3
      src/decoder.rs
  2. +2
    -2
      src/encoder.rs
  3. +2
    -2
      src/lib.rs
  4. +1
    -1
      src/types.rs

+ 3
- 3
src/decoder.rs View File

@ -1,6 +1,6 @@
use encoder;
use errors::OscError;
use types::{
use crate::encoder;
use crate::errors::OscError;
use crate::types::{
OscArray, OscBundle, OscColor, OscMessage, OscMidiMessage, OscPacket, OscType, Result,
};

+ 2
- 2
src/encoder.rs View File

@ -1,5 +1,5 @@
use errors::OscError;
use types::{OscBundle, OscMessage, OscPacket, OscType, Result};
use crate::errors::OscError;
use crate::types::{OscBundle, OscMessage, OscPacket, OscType, Result};
use byteorder::{BigEndian, ByteOrder};

+ 2
- 2
src/lib.rs View File

@ -8,8 +8,8 @@ mod errors;
/// OSC data types, see [OSC 1.0 specification](http://opensoundcontrol.org/spec-1_0) for details.
mod types;
pub use errors::*;
pub use types::*;
pub use crate::errors::*;
pub use crate::types::*;
/// Provides a decoding method for OSC packets.
pub mod decoder;

+ 1
- 1
src/types.rs View File

@ -1,4 +1,4 @@
use errors;
use crate::errors;
use std::result;
/// see OSC Type Tag String: [OSC Spec. 1.0](http://opensoundcontrol.org/spec-1_0)

Loading…
Cancel
Save