A
Size: a a a
A
AL
A
C:\Users\Artes\Documents\Rust\rts>cargo run --features vulkan
error: Package `rts v0.1.0 (C:\Users\Artes\Documents\Rust\rts)` does not have these features: `vulkan`
C:\Users\Artes\Documents\Rust\rts>cargo run
Compiling amethyst_rendy v0.5.0
error: You must specify at least one graphical backend feature: "metal", "vulkan", "empty"
"See the wiki article https://book.amethyst.rs/stable/appendices/c_feature_gates.html#graphics-features for more details."
--> C:\Users\Artes\.cargo\registry\src\github.com-1ecc6299db9ec823\amethyst_rendy-0.5.0\src\types.rs:112:1
|
112 | / impl_backends!(
113 | | // DirectX 12 is currently disabled because of incomplete gfx-hal support for it.
114 | | // It will be re-enabled when it actually works.
115 | | // Dx12, "dx12", rendy::dx12::Backend;
... |
118 | | Empty, "empty", rendy::empty::Backend;
119 | | );
| |__^ in this macro invocation
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to previous error
error: could not compile `amethyst_rendy`.
To learn more, run the command again with --verbose.
A
amethyst_tiles::{MortonEncoder, RenderTiles2D, Tile, TileMap};
АВ
C:\Users\Artes\Documents\Rust\rts>cargo run --features vulkan
error: Package `rts v0.1.0 (C:\Users\Artes\Documents\Rust\rts)` does not have these features: `vulkan`
C:\Users\Artes\Documents\Rust\rts>cargo run
Compiling amethyst_rendy v0.5.0
error: You must specify at least one graphical backend feature: "metal", "vulkan", "empty"
"See the wiki article https://book.amethyst.rs/stable/appendices/c_feature_gates.html#graphics-features for more details."
--> C:\Users\Artes\.cargo\registry\src\github.com-1ecc6299db9ec823\amethyst_rendy-0.5.0\src\types.rs:112:1
|
112 | / impl_backends!(
113 | | // DirectX 12 is currently disabled because of incomplete gfx-hal support for it.
114 | | // It will be re-enabled when it actually works.
115 | | // Dx12, "dx12", rendy::dx12::Backend;
... |
118 | | Empty, "empty", rendy::empty::Backend;
119 | | );
| |__^ in this macro invocation
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to previous error
error: could not compile `amethyst_rendy`.
To learn more, run the command again with --verbose.
amethyst = { version = "...", features = ["vulkan"] }
A
cargo.toml
выглядит так:[package]
name = "rts"
version = "0.1.0"
authors = ["Artes"]
edition = "2018"
[dependencies]
amethyst_tiles = "0.*"
amethyst = { git = "https://github.com/amethyst/amethyst", rev = "62c1a40c10531e08ed214fcb6edce5c32fc4e16c"}
[features]
default = ["vulkan"]
empty = ["amethyst/empty"]
metal = ["amethyst/metal"]
vulkan = ["amethyst/vulkan"]
АВ
MD
MD
VZ
AL
L
L
AL
VZ
MD
NM
AL
NM