[package]
edition = "2024"
name = "rust-meth"
version = "0.1.3"
build = false
exclude = [
".github",
"*.gif",
"*.png",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Discover methods available on any Rust type with fuzzy filtering, inline documentation, interactive selection, and go-to-definition into standard library source code."
homepage = "https://github.com/saylesss88/rust-meth"
documentation = "https://docs.rs/rust-meth"
readme = "README.md"
keywords = [
"rust-analyzer",
"lsp",
"methods",
"cli",
"introspection",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/saylesss88/rust-meth"
[[bin]]
name = "rust-meth"
path = "src/main.rs"
[dependencies.anyhow]
version = "1.0.102"
[dependencies.dialoguer]
version = "0.12"
features = ["fuzzy-select"]
default-features = false
[dependencies.fuzzy-matcher]
version = "0.3.7"
[dependencies.serde_json]
version = "1.0.149"
[lints.clippy]
dbg_macro = "warn"
todo = "warn"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
deprecated = "warn"
elided_lifetimes_in_paths = "warn"
rust_2021_prelude_collisions = "warn"
semicolon_in_expressions_from_macros = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rustdoc]
all = "warn"
missing_crate_level_docs = "warn"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true