tauri/core/tauri-build/Cargo.toml

41 lines
1.2 KiB
TOML
Raw Normal View History

[package]
name = "tauri-build"
version = "2.0.0-alpha.6"
description = "build time code to pair with https://crates.io/crates/tauri"
2022-08-28 21:13:21 +03:00
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
rustdoc-args = [ "--cfg", "doc_cfg" ]
[dependencies]
anyhow = "1"
quote = { version = "1", optional = true }
tauri-codegen = { version = "2.0.0-alpha.6", path = "../tauri-codegen", optional = true }
tauri-utils = { version = "2.0.0-alpha.6", path = "../tauri-utils", features = [ "build", "resources" ] }
cargo_toml = "0.15"
serde = "1"
serde_json = "1"
heck = "0.4"
json-patch = "1.0"
walkdir = "2"
tauri-winres = "0.1"
semver = "1"
[target."cfg(target_os = \"macos\")".dependencies]
swift-rs = { version = "1.0.4", features = [ "build" ] }
[features]
codegen = [ "tauri-codegen", "quote" ]
isolation = [ "tauri-codegen/isolation", "tauri-utils/isolation" ]
config-json5 = [ "tauri-utils/config-json5" ]
config-toml = [ "tauri-utils/config-toml" ]