The cutover's last mechanical step. The old runtime is deleted, so its name is free: the crate moves to crates/metal2vulkan-runtime, its package is metal2vulkan-runtime and its library metal2vulkan_runtime, and every reference in the tree follows (sources, tests, scripts, CI, generated tables and docs). It is now a published crate, as AGENTS.md said it would be once it took the name: version 0.2.0 with the other two, the translator pinned exactly (=0.2.0, as the translator pins the AIR front end), documentation, keywords and categories, and copies of the repository's four license files, which the published-crates test now holds equal to the root's for three crates. CI packages it with the others. Prose that said it was unpublished, or counted two published crates, says three. AGENTS.md: facts only. The crate table row, the published-crates and version sentences, and the paragraph on the old runtime, whose name the runtime now carries (listed for the owner). Made by one script run on this tip. Verified by the job named in the landing note.
42 lines
1.5 KiB
TOML
42 lines
1.5 KiB
TOML
[package]
|
|
name = "metal2vulkan-runtime"
|
|
version = "0.2.0"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
description = "The Metal API on Vulkan, with one path for every device"
|
|
readme = "README.md"
|
|
repository.workspace = true
|
|
documentation = "https://docs.rs/metal2vulkan-runtime"
|
|
keywords = ["metal", "vulkan", "gpu", "graphics"]
|
|
categories = ["graphics", "api-bindings"]
|
|
autobins = false
|
|
autoexamples = false
|
|
|
|
[lib]
|
|
name = "metal2vulkan_runtime"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# The Vulkan API. Nothing is linked at build time: the instance opens the loader with `dlopen`.
|
|
ash = { workspace = true, features = ["std", "loaded"] }
|
|
# The translator: Metal AIR to SPIR-V, through its public API only.
|
|
metal2vulkan = { version = "=0.2.0", path = "../metal2vulkan", features = ["ash"] }
|
|
|
|
# The host clock of command buffer times, and the ids of the runtime's threads, on unix.
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc.workspace = true
|
|
|
|
# The same on Windows: the performance counter and `GetCurrentThreadId`.
|
|
[target.'cfg(windows)'.dependencies]
|
|
windows-sys = { workspace = true, features = ["Win32_System_Performance", "Win32_System_Threading"] }
|
|
|
|
[dev-dependencies]
|
|
# The tests' fixture assembler and fixture directories. Path-only, so publishing drops it.
|
|
metal2vulkan-devtools = { path = "../metal2vulkan-devtools" }
|
|
|
|
# The device tests compile only under the validation crate's device cfgs (docs/VALIDATION.md).
|
|
[lints.rust]
|
|
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(m2v_gpu)", "cfg(m2v_cpu_icd)"] }
|