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
/*
 * Copyright (c) 2019. David "Tiran'Sol" Soria Parra
 * All rights reserved.
 */
#![cfg_attr(test, feature(test))]
//! neweden is a rust library for system information, wayfinding and
//! range queries for the MMORPG Eve Online from CCP Games.
//!
//! Online data can come from multiple data sources. Most commonly
//! a CCP static dump from https://www.fuzzwork.co.uk/dump/.
//!
//! The library must be compiled with the apprioriate flags. Currently
//! accepted flags are `database` and `rpc`. `database` offers a Postgres
//! backend using the diesel ORM wrapper. `rpc` is for internal use at
//! the moment as the dependent crate is not open sourced.

// Must be at the crate root
#[cfg(feature = "postgres")]
#[macro_use]
extern crate diesel;

pub mod source;

pub mod builder;
pub use types::*;
#[allow(dead_code)]
pub mod rules;
#[allow(dead_code)]
mod types;

#[allow(dead_code)]
pub mod navigation;

#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {
        assert_eq!(2 + 2, 4);
    }
}