# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.71" name = "assets_manager" version = "0.12.4" authors = ["BenoƮt du Garreau"] build = false exclude = ["/assets/"] autobins = false autoexamples = false autotests = false autobenches = false description = "Conveniently load, cache, and reload external resources" documentation = "https://docs.rs/assets_manager" readme = "README.md" keywords = [ "asset", "assets", "cache", "hot-reloading", "resources", ] categories = [ "caching", "filesystem", "game-development", ] license = "MIT OR Apache-2.0" repository = "https://github.com/a1phyr/assets_manager" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.dev] debug = 0 [lib] name = "assets_manager" path = "src/lib.rs" [[example]] name = "basic" path = "examples/basic.rs" required-features = ["ron"] [[example]] name = "compound" path = "examples/compound.rs" required-features = [ "hot-reloading", "ron", ] [[example]] name = "custom-source" path = "examples/custom-source.rs" [[example]] name = "hot_reloading" path = "examples/hot_reloading.rs" required-features = ["hot-reloading"] [dependencies.ab_glyph] version = "0.2.12" optional = true [dependencies.ahash] version = "0.8.0" features = ["runtime-rng"] optional = true default-features = false [dependencies.assets_manager_macros] version = "0.2.4" optional = true [dependencies.base64] version = "0.22" optional = true [dependencies.basic-toml] version = "0.1.3" optional = true [dependencies.bincode] version = "1.2" optional = true [dependencies.crossbeam-channel] version = "0.5" optional = true [dependencies.gltf] version = "1.0" optional = true default-features = false [dependencies.hashbrown] version = "0.15" default-features = false [dependencies.image] version = "0.25" optional = true default-features = false [dependencies.log] version = "0.4" [dependencies.notify] version = "6.0" optional = true [dependencies.once_cell] version = "1.16" optional = true [dependencies.parking_lot] version = "0.12" optional = true [dependencies.rmp-serde] version = "1.1" optional = true [dependencies.ron] version = "0.8" optional = true [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.serde_yaml] version = "0.9.1" optional = true [dependencies.sync_file] version = "0.2" optional = true [dependencies.tar] version = "0.4.38" optional = true default-features = false [dependencies.zip] version = "0.6" optional = true default-features = false [dev-dependencies.cfg-if] version = "1.0" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1.0" features = ["derive"] [features] ahash = ["dep:ahash"] bincode = [ "dep:bincode", "serde", ] bmp = ["image/bmp"] default = ["ahash"] embedded = ["macros"] gltf = [ "dep:gltf", "dep:base64", "png", "jpeg", ] hot-reloading = [ "dep:notify", "dep:crossbeam-channel", ] image = ["dep:image"] jpeg = ["image/jpeg"] json = [ "dep:serde_json", "serde", ] macros = ["dep:assets_manager_macros"] msgpack = [ "dep:rmp-serde", "serde", ] png = ["image/png"] ron = [ "dep:ron", "serde", ] serde = ["dep:serde"] tar = [ "dep:tar", "dep:sync_file", ] toml = [ "dep:basic-toml", "serde", ] utils = ["dep:once_cell"] webp = ["image/webp"] yaml = [ "dep:serde_yaml", "serde", ] zip = [ "dep:zip", "dep:sync_file", ] zip-bzip2 = [ "zip", "zip/bzip2", ] zip-deflate = [ "zip", "zip/deflate", ] zip-zstd = [ "zip", "zip/zstd", ]