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 } lazy_static = { version = "1.4.0", optional = true }
[features] [features]
default = ["include_data"] default = ["include-data"]
include_data = ["include_dir", "itertools", "lazy_static"] include-data = ["include_dir", "itertools", "lazy_static"]

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

Loading…
Cancel
Save