# 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 = "zed_extension_api" version = "0.2.0" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "APIs for creating Zed extensions in Rust" documentation = "https://docs.rs/zed_extension_api" readme = "README.md" keywords = [ "zed", "extension", ] license = "Apache-2.0" repository = "https://github.com/zed-industries/zed" [package.metadata.component.target] path = "wit" [lib] name = "zed_extension_api" path = "src/extension_api.rs" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.wit-bindgen] version = "0.22" [lints.clippy] dbg_macro = "deny" single_range_in_vec_init = "allow" todo = "deny" type_complexity = "allow" [lints.clippy.module_inception] level = "deny" priority = 0 [lints.clippy.new_ret_no_self] level = "allow" priority = 0 [lints.clippy.question_mark] level = "deny" priority = 0 [lints.clippy.redundant_closure] level = "deny" priority = 0 [lints.clippy.should_implement_trait] level = "allow" priority = 0 [lints.clippy.style] level = "allow" priority = -1