1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// Copyright (c) 2019 echoloc developers
//
// Licensed under the Apache License, Version 2.0
// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT
// license <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. All files in the project carrying such notice may not be copied,
// modified, or distributed except according to those terms.

//! `echoloc` 0.1.0
//!
//! Example
//! ```
//! ```
#![feature(crate_visibility_modifier)]
#![deny(
    absolute_paths_not_starting_with_crate,
    anonymous_parameters,
    bare_trait_objects,
    clippy::all,
    clippy::pedantic,
    dead_code,
    elided_lifetimes_in_paths,
    ellipsis_inclusive_range_patterns,
    keyword_idents,
    macro_use_extern_crate,
    missing_copy_implementations,
    missing_debug_implementations,
    missing_docs,
    question_mark_macro_sep,
    trivial_casts,
    trivial_numeric_casts,
    unreachable_pub,
    unused,
    unused_import_braces,
    unused_labels,
    unused_lifetimes,
    unused_qualifications,
    unused_results,
    variant_size_differences
)]
#![warn(unsafe_code)]
#![allow(box_pointers, single_use_lifetimes)]
#![doc(html_root_url = "https://docs.rs/echoloc/0.1.0")]

mod echo;
mod error;
mod runnable;
mod scheduler;

pub use crate::echo::{CollectorUrl, Event, EventType, Payload, Response};
pub use crate::error::{Err, ErrKind, Result};
pub use crate::runnable::Runnable;
pub use crate::scheduler::worker;