Update to Rust programming language.

This commit is contained in:
Abraham 2023-04-27 00:28:36 +05:00
parent ee8d236e1c
commit 54613e3628
201 changed files with 12954 additions and 1690 deletions

45
src-tauri/Makefile.toml Normal file
View file

@ -0,0 +1,45 @@
[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--", "--emit=files"]
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.build_debug]
command = "cargo"
args = ["build"]
[tasks.run]
command = "cargo"
args = ["run"]
[tasks.build_release]
command = "cargo"
args = ["build", "--release"]
dependencies = ["clean"]
[tasks.test]
command = "cargo"
args = ["test"]
# dependencies = ["clean"]
[tasks.vosk]
script_runner = "python"
script_extension = "py"
script = { file = "vosk_build.py" }
[tasks.debug]
dependencies = [
"format",
"build_debug",
"vosk"
]
[tasks.release]
dependencies = [
"format",
"build_release",
"vosk"
]