# 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"
rust-version = "1.75"
name = "shipwright-zed"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zed host helpers for Shipwright binary and LSP version checks."
documentation = "https://docs.rs/shipwright-zed"
readme = "README.md"
license = "MIT"
repository = "https://github.com/Nimblesite/Shipwright"

[lib]
name = "shipwright_zed"
path = "src/lib.rs"

[[test]]
name = "lsp"
path = "tests/lsp.rs"

[dependencies.shipwright-host]
version = "0.9.0"

[dev-dependencies.serde_json]
version = "1"

[lints.clippy]
arithmetic_side_effects = "deny"
expect_used = "deny"
indexing_slicing = "deny"
missing_docs_in_private_items = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
dead_code = "deny"
elided_lifetimes_in_paths = "deny"
missing_debug_implementations = "deny"
missing_docs = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unsafe_code = "deny"
unused_assignments = "deny"
unused_imports = "deny"
unused_mut = "deny"
unused_results = "deny"
unused_variables = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = -1

[lints.rust.nonstandard_style]
level = "deny"
priority = -1

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
