mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
eb2a8b12e9
# Objective `bevy_ptr` works just fine without `std`. Mark it as `no_std`. This should generally be useful for non-bevy use cases, but it also marginally speeds up compilation by allowing the crate to compile without loading the std-lib. ## Solution Replace `std` with `core`. Added `#![no_std]` to the crate and to the crate's tags. Also added a missing `#![warn(missing_docs)]` that the other crates have.
11 lines
308 B
TOML
11 lines
308 B
TOML
[package]
|
|
name = "bevy_ptr"
|
|
version = "0.8.0-dev"
|
|
edition = "2021"
|
|
description = "Utilities for working with untyped pointers in a more safe way"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy", "no_std"]
|
|
|
|
[dependencies]
|