Files
archived-tauri/examples/api/src-tauri/Cargo.toml
Amr Bashir c01e87ad46 refactor(cli/migrate): use oxc kit to parse and migrate js/ts files (#10198)
* refactor(cli/migrate): use `oxc` kit to parse and migrate js/ts files

closes #10192

* fix tests

* use majic-string to perserve formatting

* more comments

* Discard changes to package.json

* Update cli-migrate-enhancemnets.md

* Update cli-migrate-enhancemnets.md

* more context

* add missing quotes, rename getcurrent

* fix change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-07-12 09:03:30 -03:00

51 lines
972 B
TOML

[package]
name = "api"
version = "0.1.0"
description = "An example Tauri Application showcasing the api"
edition = "2021"
rust-version = "1.70"
license = "Apache-2.0 OR MIT"
[lib]
name = "api_lib"
crate-type = ["staticlib", "cdylib", "lib"]
[build-dependencies]
tauri-build = { path = "../../../core/tauri-build", features = [
"codegen",
"isolation",
] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tiny_http = "0.11"
log = "0.4"
tauri-plugin-sample = { path = "./tauri-plugin-sample/" }
[dependencies.tauri]
path = "../../../core/tauri"
features = [
"protocol-asset",
"image-ico",
"image-png",
"isolation",
"macos-private-api",
"tray-icon",
]
[dev-dependencies.tauri]
path = "../../../core/tauri"
features = ["test"]
[features]
prod = ["tauri/custom-protocol"]
# default to small, optimized release binaries
[profile.release]
panic = "abort"
codegen-units = 1
lto = true
incremental = false
opt-level = "s"