mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-24 03:04:36 +03:00
e8d3793c3c
* feat(tauri-build): add `config-json` feature flag This allows disabling rebuilding when `tauri.conf.json` when using another config format see https://github.com/tauri-apps/tauri/issues/8721 * document feature flag * Update .changes/tauri-build-config-json.md [skip ci] * Update core/tauri/src/lib.rs [skip ci] * disable default features for tauri-build on tauri, plugins * fmt --------- Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
57 lines
1.6 KiB
TOML
57 lines
1.6 KiB
TOML
[package]
|
|
name = "tauri-build"
|
|
version = "2.0.0-alpha.14"
|
|
description = "build time code to pair with https://crates.io/crates/tauri"
|
|
exclude = [ "CHANGELOG.md", "/target" ]
|
|
readme = "README.md"
|
|
authors = { workspace = true }
|
|
homepage = { workspace = true }
|
|
repository = { workspace = true }
|
|
categories = { workspace = true }
|
|
license = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
default-target = "x86_64-unknown-linux-gnu"
|
|
targets = [
|
|
"x86_64-pc-windows-msvc",
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-linux-android",
|
|
"x86_64-apple-ios"
|
|
]
|
|
rustc-args = [ "--cfg", "docsrs" ]
|
|
rustdoc-args = [ "--cfg", "docsrs" ]
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
quote = { version = "1", optional = true }
|
|
tauri-codegen = { version = "2.0.0-alpha.13", path = "../tauri-codegen", optional = true }
|
|
tauri-utils = { version = "2.0.0-alpha.13", path = "../tauri-utils", features = [ "build", "resources" ] }
|
|
cargo_toml = "0.17"
|
|
serde = "1"
|
|
serde_json = "1"
|
|
heck = "0.4"
|
|
json-patch = "1.2"
|
|
walkdir = "2"
|
|
tauri-winres = "0.1"
|
|
semver = "1"
|
|
dirs-next = "2"
|
|
glob = "0.3"
|
|
toml = "0.8"
|
|
schemars = { version = "0.8", features = [ "preserve_order" ] }
|
|
|
|
[target."cfg(target_os = \"macos\")".dependencies]
|
|
swift-rs = { version = "1.0.6", features = [ "build" ] }
|
|
plist = "1"
|
|
|
|
[features]
|
|
default = [ "config-json" ]
|
|
codegen = [ "tauri-codegen", "quote" ]
|
|
isolation = [ "tauri-codegen/isolation", "tauri-utils/isolation" ]
|
|
config-json = [ ]
|
|
config-json5 = [ "tauri-utils/config-json5" ]
|
|
config-toml = [ "tauri-utils/config-toml" ]
|