Rename the feature

pull/6/head
Wyatt Herkamp 2 years ago
parent c63cd1f11a
commit 47e95167ef

@ -20,6 +20,6 @@ itertools = { version = "0.10.3", optional = true }
lazy_static = { version = "1.4.0", optional = true }
[features]
default = ["include_data"]
include_data = ["include_dir", "itertools", "lazy_static"]
default = ["include-data"]
include-data = ["include_dir", "itertools", "lazy_static"]

@ -4,15 +4,15 @@
extern crate serde_derive;
/// Provides data access methods
#[cfg(feature="include_data")]
#[cfg(feature="include-data")]
pub mod api;
#[cfg(feature="include_data")]
#[cfg(feature="include-data")]
pub(crate) mod data;
/// Contains the type definitions for the data
pub mod models;
pub(crate) mod utils;
#[cfg(feature="include_data")]
#[cfg(feature="include-data")]
pub use api::Api;
pub use utils::error::DataError;
pub use utils::error::DataResult;

Loading…
Cancel
Save