repo_description: A Flash Player emulator written in Rust
repo_topics: emulator flash hacktoberfest reimplementation rust swf
code: // This lint is helpful, but right now we have too many instances of it.
  // TODO: Remove this once all instances are fixed.
  #![allow(clippy::needless_pass_by_ref_mut)]
  // This lint is good in theory, but in AVMs we often need to do `let x = args.get(0); let y = args.get(1);` etc.
  // It'd make those much less readable and consistent.
  #![allow(clippy::get_first)]
  
  #[macro_use]
  mod display_object;
  pub use display_object::{StageAlign, StageDisplayState, StageScaleMode};
  
  #[macro_use]
  extern crate num_derive;
  
  #[macro_use]
  mod avm1;
  mod avm2;
  mod avm_rng;
  mod binary_data;
  pub mod bitmap;
  mod character;
  pub mod context;
  pub mod context_menu;
  mod drawing;
  mod ecma_conversions;
  pub mod events;
  pub mod focus_tracker;
  pub mod font;
  mod frame_lifecycle;
  mod html;
  mod input;
  mod library;
  pub mod limits;
  pub mod loader;
  mod local_connection;
  mod locale;
  mod net_connection;
  mod orphan_manager;
  pub mod pixel_bender;
  mod player;
  mod prelude;
  pub mod socket;
  mod streams;
  pub mod string;
  mod system_properties;
  pub mod tag_utils;
  pub mod timer;
  mod types;
  mod vminterface;
  
  pub mod backend;
  pub mod compatibility_rules;
  pub mod config;
  #[cfg(feature = "egui")]
  pub mod debug_ui;
  pub mod external;
  pub mod i18n;
  pub mod stub;
  
  pub use context_menu::ContextMenuItem;
  pub use events::PlayerEvent;
  pub use indexmap;
  pub use loader::LoadBehavior;
  pub use player::{Player, PlayerBuilder, PlayerMode, PlayerRuntime, StaticCallstack};
  pub use ruffle_common::duration::FloatDuration;
  pub use ruffle_render::backend::ViewportDimensions;
  pub use swf;
  pub use swf::Color;
  pub use ttf_parser;
  
  /// The newest Flash Player version known to Ruffle.
  pub const NEWEST_PLAYER_VERSION: u8 = 51;
  
  /// The default Flash Player version that Ruffle will emulate.
  pub const DEFAULT_PLAYER_VERSION: u8 = 32;
  