# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tauri-specta" version = "2.0.0-rc.20" authors = ["Oscar Beaumont "] build = false include = [ "/src", "/README.md", "/LICENCE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Completely typesafe Tauri commands" documentation = "https://docs.rs/tauri-specta/latest/tauri-specta" readme = "README.md" keywords = [ "async", "specta", "rspc", "typescript", "typesafe", ] categories = [ "web-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/oscartbeaumont/tauri-specta" [package.metadata."docs.rs"] all-features = true rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "tauri_specta" path = "src/lib.rs" [dependencies.heck] version = "0.5.0" [dependencies.serde] version = "1" [dependencies.serde_json] version = "1" [dependencies.specta] version = "=2.0.0-rc.20" features = ["function"] [dependencies.specta-jsdoc] version = "0.0.7" optional = true [dependencies.specta-typescript] version = "0.0.7" optional = true [dependencies.tauri] version = "2.0.0-rc.15" features = ["specta"] [dependencies.tauri-specta-macros] version = "=2.0.0-rc.16" optional = true [dependencies.thiserror] version = "1" [features] default = [] derive = ["dep:tauri-specta-macros"] javascript = ["dep:specta-jsdoc"] typescript = ["dep:specta-typescript"] [lints.clippy.all] level = "warn" priority = -1 [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.panic] level = "warn" priority = -1 [lints.clippy.panic_in_result_fn] level = "warn" priority = -1 [lints.clippy.todo] level = "warn" priority = -1 [lints.clippy.unwrap_used] level = "warn" priority = -1 [lints.rust.missing_docs] level = "warn" priority = -1 [lints.rust.unsafe_code] level = "forbid" priority = -1