forked from mirrors/gecko-dev
MozReview-Commit-ID: 26E21CeZiLj --HG-- rename : third_party/rust/nom/.travis.yml => third_party/rust/nom-1.2.4/.travis.yml rename : third_party/rust/nom/.cargo-checksum.json => third_party/rust/nom-1.2.4/nom/.cargo-checksum.json rename : third_party/rust/nom/.travis.yml => third_party/rust/nom-1.2.4/nom/.travis.yml rename : third_party/rust/nom/CHANGELOG.md => third_party/rust/nom-1.2.4/nom/CHANGELOG.md rename : third_party/rust/nom/Cargo.toml => third_party/rust/nom-1.2.4/nom/Cargo.toml rename : third_party/rust/nom/LICENSE => third_party/rust/nom-1.2.4/nom/LICENSE rename : third_party/rust/nom/src/bits.rs => third_party/rust/nom-1.2.4/nom/src/bits.rs rename : third_party/rust/nom/src/bytes.rs => third_party/rust/nom-1.2.4/nom/src/bytes.rs rename : third_party/rust/nom/src/character.rs => third_party/rust/nom-1.2.4/nom/src/character.rs rename : third_party/rust/nom/src/internal.rs => third_party/rust/nom-1.2.4/nom/src/internal.rs rename : third_party/rust/nom/src/lib.rs => third_party/rust/nom-1.2.4/nom/src/lib.rs rename : third_party/rust/nom/src/macros.rs => third_party/rust/nom-1.2.4/nom/src/macros.rs rename : third_party/rust/nom/src/methods.rs => third_party/rust/nom-1.2.4/nom/src/methods.rs rename : third_party/rust/nom/src/nom.rs => third_party/rust/nom-1.2.4/nom/src/nom.rs rename : third_party/rust/nom/src/regexp.rs => third_party/rust/nom-1.2.4/nom/src/regexp.rs rename : third_party/rust/nom/src/str.rs => third_party/rust/nom-1.2.4/nom/src/str.rs rename : third_party/rust/nom/src/stream.rs => third_party/rust/nom-1.2.4/nom/src/stream.rs rename : third_party/rust/nom/src/util.rs => third_party/rust/nom-1.2.4/nom/src/util.rs rename : third_party/rust/nom/tests/arithmetic.rs => third_party/rust/nom-1.2.4/nom/tests/arithmetic.rs rename : third_party/rust/nom/tests/arithmetic_ast.rs => third_party/rust/nom-1.2.4/nom/tests/arithmetic_ast.rs rename : third_party/rust/nom/tests/cross_function_backtracking.rs => third_party/rust/nom-1.2.4/nom/tests/cross_function_backtracking.rs rename : third_party/rust/nom/tests/ini.rs => third_party/rust/nom-1.2.4/nom/tests/ini.rs rename : third_party/rust/nom/tests/ini_str.rs => third_party/rust/nom-1.2.4/nom/tests/ini_str.rs rename : third_party/rust/nom/tests/issues.rs => third_party/rust/nom-1.2.4/nom/tests/issues.rs rename : third_party/rust/nom/tests/mp4.rs => third_party/rust/nom-1.2.4/nom/tests/mp4.rs rename : third_party/rust/nom/tests/omnom.rs => third_party/rust/nom-1.2.4/nom/tests/omnom.rs rename : third_party/rust/nom/tests/test1.rs => third_party/rust/nom-1.2.4/nom/tests/test1.rs extra : rebase_source : 8db59fcbf07bea1c4e8a5b9db70b7be8199cbe34
12 lines
209 B
Rust
12 lines
209 B
Rust
extern crate devd_rs;
|
|
|
|
use devd_rs::*;
|
|
|
|
fn main() {
|
|
let mut ctx = Context::new().unwrap();
|
|
loop {
|
|
if let Ok(ev) = ctx.wait_for_event(1000) {
|
|
println!("{:?}", ev);
|
|
}
|
|
}
|
|
}
|