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
//! Rust bindings for [SFML](http://www.sfml-dev.org), the Simple and Fast Multimedia Library.
//!
//! Prerequisites
//! =============
//!
//! SFML 2.4 and CSFML 2.4 must be installed on your computer. You can download them here:
//!
//! - SFML 2.4: http://www.sfml-dev.org/download.php
//! - CSFML 2.4: http://www.sfml-dev.org/download/csfml/
//!
//! The supported platforms are Linux, Windows and OS X.
//!
//! # License
//!
//! This software is a binding of the SFML library created by Laurent Gomila, which
//! is provided under the Zlib/png license.
//!
//! This software is provided under the same license than the SFML, the Zlib/png
//! license.
//!

#![warn(missing_docs, trivial_numeric_casts, missing_copy_implementations,
       missing_debug_implementations, unused_results, trivial_casts)]

#[cfg(feature = "window")]
#[macro_use]
extern crate bitflags;
extern crate csfml_system_sys;
#[cfg(feature = "window")]
extern crate csfml_window_sys;

#[cfg(any(feature = "graphics", feature = "audio"))]
mod inputstream;
mod sf_bool_ext;
#[cfg(feature = "window")]
mod unicode_conv;

pub mod system;
#[cfg(feature = "window")]
pub mod window;
#[cfg(feature = "audio")]
pub mod audio;
#[cfg(feature = "graphics")]
pub mod graphics;
#[cfg(feature = "network")]
pub mod network;