Initial switch to compatibility with Tauri v2. Only event API is implemented, all other APIs have been removed. Irrelevant or deprecated documentation was removed.
This commit is contained in:
parent
dca9e751c5
commit
22267c5862
36 changed files with 363 additions and 10251 deletions
39
Cargo.toml
39
Cargo.toml
|
@ -1,46 +1,31 @@
|
|||
[package]
|
||||
edition = "2021"
|
||||
name = "tauri-sys"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
futures = { version = "0.3.29", optional = true }
|
||||
js-sys = "0.3.66"
|
||||
log = "0.4.20"
|
||||
semver = {version = "1.0.20", optional = true, features = ["serde"]}
|
||||
serde = {version = "1.0.193", features = ["derive"]}
|
||||
serde-wasm-bindgen = "0.6.3"
|
||||
serde_repr = "0.1.17"
|
||||
thiserror = "1.0.50"
|
||||
url = {version = "2.5.0", optional = true, features = ["serde"]}
|
||||
wasm-bindgen = "0.2.89"
|
||||
wasm-bindgen-futures = "0.4.39"
|
||||
futures = { version = "0.3.30", optional = true }
|
||||
js-sys = "0.3.69"
|
||||
log = "0.4.21"
|
||||
serde = {version = "1.0.203", features = ["derive"]}
|
||||
serde-wasm-bindgen = "0.6.5"
|
||||
serde_repr = "0.1.19"
|
||||
thiserror = "1.0.61"
|
||||
wasm-bindgen = "0.2.92"
|
||||
wasm-bindgen-futures = "0.4.42"
|
||||
|
||||
[dev-dependencies]
|
||||
tauri-sys = {path = ".", features = ["all"]}
|
||||
wasm-bindgen-test = "0.3.41"
|
||||
wasm-bindgen-test = "0.3.42"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
||||
[features]
|
||||
all = ["app", "clipboard", "event", "fs", "mocks", "tauri", "window", "process", "dialog", "os", "notification", "path", "updater", "global_shortcut"]
|
||||
app = ["dep:semver"]
|
||||
clipboard = []
|
||||
dialog = []
|
||||
all = ["event"]
|
||||
event = ["dep:futures"]
|
||||
fs = []
|
||||
global_shortcut = []
|
||||
mocks = []
|
||||
notification = []
|
||||
os = []
|
||||
path = []
|
||||
process = []
|
||||
tauri = ["dep:url"]
|
||||
updater = ["dep:futures", "event"]
|
||||
window = ["dep:futures", "event"]
|
||||
|
||||
[workspace]
|
||||
members = ["examples/test", "examples/test/src-tauri"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue