Add cargo feature to control canvas backend.

This commit is contained in:
Josh Matthews 2019-05-29 14:50:45 -04:00
parent 42bf1984be
commit 3243f1753b
11 changed files with 1077 additions and 816 deletions

View file

@ -7,6 +7,12 @@
#[macro_use]
extern crate log;
#[cfg(feature = "azure_backend")]
mod azure_backend;
#[cfg(feature = "raqote_backend")]
mod raqote_backend;
pub mod canvas_data;
pub mod canvas_paint_thread;
pub mod gl_context;