Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Commit

Permalink
Disable windows build on docs.rs (#89)
Browse files Browse the repository at this point in the history
* Disable windows build on docs.rs

* Remove external crate refs

* Found issue
  • Loading branch information
joshuajbouw authored Jan 12, 2021
1 parent 3dce639 commit 5b751bc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 21 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ exclude = ["assets/**/*", ".github/**/*", "doc/**/*"]

[package.metadata.docs.rs]
features = ["serialize", "types"]
default-target = "x86_64-pc-windows-msvc"

[features]
serialize = ["bevy_tilemap_types/serialize", "serde"]
Expand Down
1 change: 0 additions & 1 deletion library/types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ documentation = "https://docs.rs/bevy_tilemap/latest/bevy_tilemap_types/"

[package.metadata.docs.rs]
features = ["serialize"]
default-target = "x86_64-pc-windows-msvc"

[features]
serialize = ["serde"]
Expand Down
13 changes: 5 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
//!
//! # Extra types feature
//!
//! Internally, the library uses [`Point2`], [`Point3`], [`Dimension2`] and
//! [`Dimension3`] types. This is not part of the official Bevy library and
//! multiple or alternative implementations of them may not be ideal, especially
//! not in the prelude.
//! Internally, the library uses Point2, Point3, Dimension2 and Dimension3
//! types. This is not part of the official Bevy library and multiple or
//! alternative implementations of them may not be ideal, especially not in the
//! prelude.
//!
//! It is quite important however to `impl Into<T>` for each of them for most
//! public methods. It already has most basic implementations that make sense.
Expand All @@ -51,10 +51,7 @@
//! bevy_tilemap = { version = "0.2", features = ["types"] }
//! ```
//!
//! [`Point2`]: crate::point::Point2
//! [`Point3`]: crate::point::Point3
//! [`Dimension2`]: crate::dimension::Dimension2
//! [`Dimension3`]: crate::dimension::Dimension3
//! See the library `bevy_tilemap_types` for more information.
#![doc(html_root_url = "https://docs.rs/bevy_tilemap/0.3.0")]
// This was broken even further and no longer will work at all with the previous
Expand Down
11 changes: 0 additions & 11 deletions src/prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,16 @@
//! * [`bevy_tilemap`]::[`Tilemap2DPlugin`], the main plugin with
//! a collection of systems, components and assets to be used in a Bevy app.
//!
//! If **"types"** feature is enabled it re-exports the following.
//!
//! * [`bevy_tilemap::dimension`]::{[`Dimension2`], [`Dimension3`]}
//! common methods and helpers for dealing with dimensions.
//! * [`bevy_tilemap::point`]::{[`Point2`], [`Point3`]} common methods
//! and helpers for dealing with points of the 2nd and 3rd dimension.
//!
//! [`bevy_tilemap::prelude::v0`]: crate::prelude::v0
//! [`bevy_tilemap::default_plugin`]: crate::default_plugin
//! [`bevy_tilemap::chunk`]: crate::chunk
//! [`bevy_tilemap::entity`]: crate::entity
//! [`bevy_tilemap::tile`]: crate::tile
//! [`bevy_tilemap::tilemap`]: crate::tilemap
//! [`bevy_tilemap::dimension`]: crate::dimension
//! [`bevy_tilemap::point`]: crate::point
//! [`bevy_tilemap`]: crate
/// Version 0 prelude.
pub mod v0 {
#[cfg(feature = "types")]
pub use crate::bevy_tilemap_types::prelude::v0::*;
pub use crate::{
chunk::LayerKind,
default_plugin::TilemapDefaultPlugins,
Expand Down

0 comments on commit 5b751bc

Please sign in to comment.