2019-11-28 01:26:24 +03:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2024-08-28 00:42:30 +03:00
|
|
|
"crates/tauri",
|
|
|
|
"crates/tauri-runtime",
|
|
|
|
"crates/tauri-runtime-wry",
|
|
|
|
"crates/tauri-macros",
|
|
|
|
"crates/tauri-utils",
|
|
|
|
"crates/tauri-build",
|
|
|
|
"crates/tauri-codegen",
|
|
|
|
"crates/tauri-plugin",
|
|
|
|
"crates/tauri-schema-generator",
|
|
|
|
"crates/tauri-cli",
|
|
|
|
"crates/tauri-bundler",
|
|
|
|
"crates/tauri-macos-sign",
|
|
|
|
"crates/tauri-driver",
|
|
|
|
|
|
|
|
# @tauri-apps/cli rust project
|
|
|
|
"packages/cli",
|
2022-08-09 20:43:51 +03:00
|
|
|
|
2022-03-23 23:14:52 +03:00
|
|
|
# integration tests
|
2024-08-28 00:42:30 +03:00
|
|
|
"crates/tests/restart",
|
|
|
|
"crates/tests/acl",
|
|
|
|
|
|
|
|
# bench
|
|
|
|
"bench",
|
|
|
|
"bench/tests/cpu_intensive/src-tauri",
|
|
|
|
"bench/tests/files_transfer/src-tauri",
|
|
|
|
"bench/tests/helloworld/src-tauri",
|
2024-08-27 01:25:36 +03:00
|
|
|
|
|
|
|
# examples
|
|
|
|
"examples/file-associations/src-tauri",
|
|
|
|
"examples/api/src-tauri",
|
2024-08-28 19:27:33 +03:00
|
|
|
"examples/api/src-tauri/tauri-plugin-sample",
|
2021-08-17 16:27:18 +03:00
|
|
|
]
|
2024-08-28 00:42:30 +03:00
|
|
|
resolver = "2"
|
2021-03-13 04:10:19 +03:00
|
|
|
|
2023-05-26 16:04:01 +03:00
|
|
|
[workspace.package]
|
2023-09-09 15:58:41 +03:00
|
|
|
authors = ["Tauri Programme within The Commons Conservancy"]
|
2023-05-26 16:04:01 +03:00
|
|
|
homepage = "https://tauri.app/"
|
|
|
|
repository = "https://github.com/tauri-apps/tauri"
|
2023-09-09 15:58:41 +03:00
|
|
|
categories = ["gui", "web-programming"]
|
2023-05-26 16:04:01 +03:00
|
|
|
license = "Apache-2.0 OR MIT"
|
|
|
|
edition = "2021"
|
2024-08-28 00:42:30 +03:00
|
|
|
rust-version = "1.71"
|
2023-05-26 16:04:01 +03:00
|
|
|
|
2021-03-13 04:10:19 +03:00
|
|
|
# default to small, optimized workspace release binaries
|
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
|
|
|
codegen-units = 1
|
|
|
|
lto = true
|
|
|
|
incremental = false
|
|
|
|
opt-level = "s"
|
2024-06-13 18:31:12 +03:00
|
|
|
|
2024-08-28 00:42:30 +03:00
|
|
|
# profiles for tauri-cli
|
|
|
|
[profile.dev.package.miniz_oxide]
|
|
|
|
opt-level = 3
|
|
|
|
|
|
|
|
[profile.release-size-optimized]
|
|
|
|
inherits = "release"
|
|
|
|
codegen-units = 1
|
|
|
|
lto = true
|
|
|
|
incremental = false
|
|
|
|
opt-level = "s"
|
|
|
|
|
2024-06-13 18:31:12 +03:00
|
|
|
# Temporary patch to schemars to preserve newlines in docstrings for our reference docs schemas
|
|
|
|
# See https://github.com/GREsau/schemars/issues/120 for reference
|
|
|
|
[patch.crates-io]
|
2024-07-31 09:40:45 +03:00
|
|
|
schemars_derive = { git = 'https://github.com/tauri-apps/schemars.git', branch = 'feat/preserve-description-newlines' }
|