Use placeholders + change some Cargo.toml vars

This commit is contained in:
Gleb Zaharov 2024-03-10 17:07:44 +03:00
parent 5253cbd004
commit e718bcc4e4
2 changed files with 7 additions and 3 deletions

View File

@ -1,10 +1,14 @@
[package] [package]
name = "kos_ytm" name = "{{project-name}}"
version = "0.1.0" version = "0.1.0"
authors = ["{{authors}}"]
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
kos = { git = "https://git.coders-squad.com/KOS_Rust/Core" } kos = { git = "https://git.kolibrios.org/Rust/Core" }
cstr_core = { version = "0.2.4", default-features = false, features = ["nightly"] } cstr_core = { version = "0.2.4", default-features = false, features = ["nightly"] }
[profile.release]
opt-level = "s"

View File

@ -13,4 +13,4 @@ args = ["clean"]
[tasks.build] [tasks.build]
command = "cargo" command = "cargo"
args = ["objcopy", "@@remove-empty(RELEASE_FLAG)", "--", "-O", "binary", "rust.kex"] args = ["objcopy", "@@remove-empty(RELEASE_FLAG)", "--", "-O", "binary", "{{crate_name}}.kex"]