bevy/crates/bevy_asset/Cargo.toml

49 lines
1.5 KiB
TOML
Raw Normal View History

2020-04-06 03:19:02 +00:00
[package]
name = "bevy_asset"
version = "0.11.0-dev"
edition = "2021"
2020-08-10 00:24:27 +00:00
description = "Provides asset functionality for Bevy Engine"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
Relicense Bevy under the dual MIT or Apache-2.0 license (#2509) This relicenses Bevy under the dual MIT or Apache-2.0 license. For rationale, see #2373. * Changes the LICENSE file to describe the dual license. Moved the MIT license to docs/LICENSE-MIT. Added the Apache-2.0 license to docs/LICENSE-APACHE. I opted for this approach over dumping both license files at the root (the more common approach) for a number of reasons: * Github links to the "first" license file (LICENSE-APACHE) in its license links (you can see this in the wgpu and rust-analyzer repos). People clicking these links might erroneously think that the apache license is the only option. Rust and Amethyst both use COPYRIGHT or COPYING files to solve this problem, but this creates more file noise (if you do everything at the root) and the naming feels way less intuitive. * People have a reflex to look for a LICENSE file. By providing a single license file at the root, we make it easy for them to understand our licensing approach. * I like keeping the root clean and noise free * There is precedent for putting the apache and mit license text in sub folders (amethyst) * Removed the `Copyright (c) 2020 Carter Anderson` copyright notice from the MIT license. I don't care about this attribution, it might make license compliance more difficult in some cases, and it didn't properly attribute other contributors. We shoudn't replace it with something like "Copyright (c) 2021 Bevy Contributors" because "Bevy Contributors" is not a legal entity. Instead, we just won't include the copyright line (which has precedent ... Rust also uses this approach). * Updates crates to use the new "MIT OR Apache-2.0" license value * Removes the old legion-transform license file from bevy_transform. bevy_transform has been its own, fully custom implementation for a long time and that license no longer applies. * Added a License section to the main readme * Updated our Bevy Plugin licensing guidelines. As a follow-up we should update the website to properly describe the new license. Closes #2373
2021-07-23 21:11:51 +00:00
license = "MIT OR Apache-2.0"
2020-08-10 00:24:27 +00:00
keywords = ["bevy"]
2020-04-06 03:19:02 +00:00
2020-05-17 03:18:30 +00:00
[features]
default = []
2020-05-17 03:18:30 +00:00
filesystem_watcher = ["notify"]
debug_asset_server = ["filesystem_watcher"]
2020-05-17 03:18:30 +00:00
2020-04-06 03:19:02 +00:00
[dependencies]
# bevy
bevy_app = { path = "../bevy_app", version = "0.11.0-dev" }
bevy_diagnostic = { path = "../bevy_diagnostic", version = "0.11.0-dev" }
bevy_ecs = { path = "../bevy_ecs", version = "0.11.0-dev" }
bevy_log = { path = "../bevy_log", version = "0.11.0-dev" }
bevy_reflect = { path = "../bevy_reflect", version = "0.11.0-dev", features = ["bevy"] }
bevy_tasks = { path = "../bevy_tasks", version = "0.11.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.11.0-dev" }
# other
serde = { version = "1", features = ["derive"] }
crossbeam-channel = "0.5.0"
anyhow = "1.0.4"
2020-05-17 03:18:30 +00:00
thiserror = "1.0"
downcast-rs = "1.2.0"
fastrand = "1.7.0"
Update notify requirement from 5.0.0 to 6.0.0 (#8757) Updates the requirements on [notify](https://github.com/notify-rs/notify) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/notify-rs/notify/blob/main/CHANGELOG.md">notify's changelog</a>.</em></p> <blockquote> <h2>notify 6.0.0 (2023-05-17)</h2> <ul> <li>CHANGE: files and directories moved into a watch folder on Linux will now be reported as <code>rename to</code> events instead of <code>create</code> events <a href="https://redirect.github.com/notify-rs/notify/issues/480">#480</a></li> <li>CHANGE: on Linux <code>rename from</code> events will be emitted immediately without starting a new thread <a href="https://redirect.github.com/notify-rs/notify/issues/480">#480</a></li> <li>CHANGE: raise MSRV to 1.60 <a href="https://redirect.github.com/notify-rs/notify/issues/480">#480</a></li> </ul> <h2>debouncer-mini 0.3.0 (2023-05-17)</h2> <ul> <li>CHANGE: upgrade to notify 6.0.0, pushing MSRV to 1.60 <a href="https://redirect.github.com/notify-rs/notify/issues/480">#480</a></li> </ul> <h2>debouncer-full 0.1.0 (2023-05-17)</h2> <p>Newly introduced alternative debouncer with more features. <a href="https://redirect.github.com/notify-rs/notify/issues/480">#480</a></p> <ul> <li>FEATURE: only emit a single <code>rename</code> event if the rename <code>From</code> and <code>To</code> events can be matched</li> <li>FEATURE: merge multiple <code>rename</code> events</li> <li>FEATURE: keep track of the file system IDs all files and stiches rename events together (FSevents, Windows)</li> <li>FEATURE: emit only one <code>remove</code> event when deleting a directory (inotify)</li> <li>FEATURE: don't emit duplicate create events</li> <li>FEATURE: don't emit <code>Modify</code> events after a <code>Create</code> event</li> </ul> <p><a href="https://redirect.github.com/notify-rs/notify/issues/480">#480</a>: <a href="https://redirect.github.com/notify-rs/notify/pull/480">notify-rs/notify#480</a></p> <h2>notify 5.2.0 (2023-05-17)</h2> <ul> <li>CHANGE: implement <code>Copy</code> for <code>EventKind</code> and <code>ModifyKind</code> <a href="https://redirect.github.com/notify-rs/notify/issues/481">#481</a></li> </ul> <p><a href="https://redirect.github.com/notify-rs/notify/issues/481">#481</a>: <a href="https://redirect.github.com/notify-rs/notify/pull/481">notify-rs/notify#481</a></p> <h2>notify 5.1.0 (2023-01-15)</h2> <ul> <li>CHANGE: switch from winapi to windows-sys <a href="https://redirect.github.com/notify-rs/notify/issues/457">#457</a></li> <li>FIX: kqueue-backend: batch file-watching together to improve performance <a href="https://redirect.github.com/notify-rs/notify/issues/454">#454</a></li> <li>DOCS: include license file in crate again <a href="https://redirect.github.com/notify-rs/notify/issues/461">#461</a></li> <li>DOCS: typo and examples fixups</li> </ul> <p><a href="https://redirect.github.com/notify-rs/notify/issues/454">#454</a>: <a href="https://redirect.github.com/notify-rs/notify/pull/454">notify-rs/notify#454</a> <a href="https://redirect.github.com/notify-rs/notify/issues/461">#461</a>: <a href="https://redirect.github.com/notify-rs/notify/pull/461">notify-rs/notify#461</a> <a href="https://redirect.github.com/notify-rs/notify/issues/457">#457</a>: <a href="https://redirect.github.com/notify-rs/notify/pull/457">notify-rs/notify#457</a></p> <h2>debouncer-mini 0.2.1 (2022-09-05)</h2> <ul> <li>DOCS: correctly document the <code>crossbeam</code> feature <a href="https://redirect.github.com/notify-rs/notify/issues/440">#440</a></li> </ul> <p><a href="https://redirect.github.com/notify-rs/notify/issues/440">#440</a>: <a href="https://redirect.github.com/notify-rs/notify/pull/440">notify-rs/notify#440</a></p> <h2>debouncer-mini 0.2.0 (2022-08-30)</h2> <p>Upgrade notify dependency to 5.0.0</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/notify-rs/notify/commits">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 21:05:21 +00:00
notify = { version = "6.0.0", optional = true }
parking_lot = "0.12.1"
[target.'cfg(target_os = "android")'.dependencies]
bevy_winit = { path = "../bevy_winit", version = "0.11.0-dev" }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { version = "0.2" }
web-sys = { version = "0.3", features = ["Request", "Window", "Response"] }
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
[dev-dependencies]
futures-lite = "1.4.0"
tempfile = "3.2.0"
bevy_core = { path = "../bevy_core", version = "0.11.0-dev" }