edjr 0.1.2

Elite Dangerous Journal Reader
//! Elite Events
//!
//! # Examples
//! ```no_run
//! use {std::{error::Error, fs::File}, edjr::{Journal, Read, event::Commander}};
//!
//! fn main() -> Result<(), Box<dyn Error>> {
//!     let journal = Journal::<File>::open("/Path/to/my/journals/Journal.date.log")?;
//!
//!     for entry in journal.read_all()? {
//!         match entry.event {
//!             Commander(commader) => println!("I'm commander {}!", commander.name),
//!             _ => ()
//!         }
//!     };
//!
//!     Ok(())
//! }
//! ```
pub mod ammo;
pub mod approach;
pub mod backpack;
pub mod body;
pub mod bounty;
pub mod broker;
pub mod cargo;
pub mod codex;
pub mod colonisation;
pub mod commander;
pub mod community_goal;
pub mod consumable;
pub mod crew;
pub mod crime;
pub mod data;
pub mod died;
pub mod disembark;
pub mod dock;
pub mod drones;
pub mod embark;
pub mod engineer;
pub mod faction;
pub mod fc;
pub mod fighter;
pub mod fileheader;
pub mod fines;
pub mod friends;
pub mod fsd;
pub mod fss;
pub mod fuel;
pub mod game;
pub mod hull;
pub mod impound;
pub mod interdiction;
pub mod jetcone;
pub mod jump;
pub mod liftoff;
pub mod loadout;
pub mod location;
pub mod market;
pub mod material;
pub mod mission;
pub mod module;
pub mod music;
pub mod navigation;
pub mod outfitting;
pub mod passengers;
pub mod powerplay;
pub mod pvp;
pub mod ranks;
pub mod repair;
pub mod reputation;
pub mod resurrect;
pub mod saa;
pub mod scan;
pub mod screenshot;
pub mod search_and_rescue;
pub mod shield;
pub mod ship;
pub mod shipyard;
pub mod squadron;
pub mod srv;
pub mod statistics;
pub mod supercruise;
pub mod synthesis;
pub mod target;
pub mod taxi;
pub mod text;
pub mod touchdown;
pub mod under_attack;
pub mod uss;
pub mod vehicle;
pub mod voucher;
pub mod weapon;
pub mod wing;

pub use {
    ammo::BuyAmmoEvent,
    approach::{ApproachBodyEvent, ApproachSettlementEvent},
    backpack::{BackpackChangeEvent, BackpackEvent, CollectItemsEvent},
    body::LeaveBodyEvent,
    bounty::{BountyEvent, PayBountiesEvent},
    broker::TechnologyBrokerEvent,
    cargo::{CargoDepotEvent, CargoEvent, CargoTransferEvent, CollectCargoEvent, EjectCargoEvent},
    codex::CodexEntryEvent,
    colonisation::ColonisationConstructionDepotEvent,
    commander::{CommanderEvent, NewCommanderEvent},
    community_goal::{
        CommunityGoalDiscardEvent, CommunityGoalEvent, CommunityGoalJoinEvent,
        CommunityGoalRewardEvent,
    },
    consumable::UseConsumableEvent,
    crew::{
        ChangeCrewRoleEvent, CrewAssignEvent, CrewLaunchFighterEvent, CrewMemberJoinsEvent,
        CrewMemberQuitsEvent, CrewMemberRoleChangeEvent, EndCrewSessionEvent, JoinACrewEvent,
        NpcCrewPaidWageEvent, QuitACrewEvent,
    },
    crime::{CommitCrimeEvent, CrimeVictimEvent},
    data::{
        DataScannedEvent, DatalinkScanEvent, DatalinkVoucherEvent, MultiSellExplorationDataEvent,
        SellfOrganicDataEvent,
    },
    died::DiedEvent,
    disembark::DisembarkEvent,
    dock::{
        DockedEvent, DockingCancelledEvent, DockingDeniedEvent, DockingGrantedEvent,
        DockingRequestedEvent, DockingTimeoutEvent, UndockedEvent,
    },
    drones::{BuyDronesEvent, LaunchDroneEvent, SellDronesEvent},
    embark::EmbarkEvent,
    engineer::{EngineerContributionEvent, EngineerCraftEvent, EngineerProgressEvent},
    faction::FactionKillBondEvent,
    fc::{CarrierJumpEvent, FcMaterialsEvent},
    fighter::{DockFighterEvent, FighterDestroyedEvent, FighterRebuiltEvent, LaunchFighterEvent},
    fileheader::FileheaderEvent,
    fines::PayFinesEvent,
    friends::FriendsEvent,
    fsd::{FsdJumpEvent, FsdTargetEvent},
    fss::{
        FssAllBodiesFoundEvent, FssBodySignalsEvent, FssDiscoveryScanEvent,
        FssSignalDiscoveredEvent,
    },
    fuel::{FuelScoopEvent, RefuelAllEvent, RefuelPartialEvent, ReservoirReplenishedEvent},
    game::LoadGameEvent,
    hull::HullDamageEvent,
    impound::ClearImpoundEvent,
    interdiction::{EscapeInterdictionEvent, InterdictedEvent, InterdictionEvent},
    jetcone::{JetConeBoostEvent, JetConeDamageEvent},
    jump::StartJumpEvent,
    liftoff::LiftoffEvent,
    loadout::{LoadoutEvent, SuitLoadoutEvent, SwitchSuitLoadoutEvent},
    location::LocationEvent,
    market::{MarketBuyEvent, MarketEvent, MarketSellEvent},
    material::{
        MaterialCollectedEvent, MaterialDiscoveredEvent, MaterialTradeEvent, MaterialsEvent,
    },
    mission::{
        MissionAbandonedEvent, MissionAcceptedEvent, MissionCompletedEvent, MissionFailedEvent,
        MissionRedirectedEvent, MissionsEvent,
    },
    module::{
        FetchRemoteModuleEvent, MassModuleStoreEvent, ModuleBuyAndStoreEvent, ModuleBuyEvent,
        ModuleRetrieveEvent, ModuleSellEvent, ModuleSellRemoteEvent, ModuleStoreEvent,
        ModuleSwapEvent, StoredModulesEvent,
    },
    music::MusicEvent,
    navigation::NavBeaconScanEvent,
    outfitting::OutfittingEvent,
    passengers::PassengersEvent,
    powerplay::{
        PowerplayCollectEvent, PowerplayEvent, PowerplayMeritsEvent, PowerplayRankEvent,
        RequestPowerMicroResourcesEvent,
    },
    pvp::PvpKillEvent,
    ranks::{ProgressEvent, PromotionEvent, RankEvent},
    repair::{AfmuRepairsEvent, RebootRepairEvent, RepairAllEvent, RepairDroneEvent, RepairEvent},
    reputation::ReputationEvent,
    resurrect::ResurrectEvent,
    saa::{SaaScanCompleteEvent, SaaSignalsFoundEvent},
    scan::{ScanBaryCentreEvent, ScanEvent, ScanOrganicEvent, ScannedEvent},
    screenshot::ScreenshotEvent,
    search_and_rescue::SearchAndRescueEvent,
    shield::ShieldStateEvent,
    ship::{SetUserShipNameEvent, ShipLockerEvent, StoredShipsEvent},
    shipyard::{
        ShipyardBuyEvent, ShipyardEvent, ShipyardNewEvent, ShipyardSellEvent, ShipyardSwapEvent,
        ShipyardTransferEvent,
    },
    squadron::{
        InvitedToSquadronEvent, JoinedSquadronEvent, LeftSquadronEvent, SquadronCreatedEvent,
        SquadronStartupEvent,
    },
    srv::{DockSrvEvent, LaunchSrvEvent, SrvDestroyedEvent},
    statistics::StatisticsEvent,
    supercruise::{SupercruiseDestinationDropEvent, SupercruiseEntryEvent, SupercruiseExitEvent},
    synthesis::SynthesisEvent,
    target::ShipTargetedEvent,
    taxi::BookTaxiEvent,
    text::{ReceiveTextEvent, SendTextEvent},
    touchdown::TouchdownEvent,
    under_attack::UnderAttackEvent,
    uss::UssDropEvent,
    vehicle::{RestockVehicleEvent, VehicleSwitchEvent},
    voucher::RedeemVoucherEvent,
    weapon::{BuyWeaponEvent, SellWeaponEvent},
    wing::{WingAddEvent, WingInviteEvent, WingJoinEvent},
};