Expand description
Rust method explorer, queries LSP completions and definitions for any Rust type, including third-party crates.
Re-exports§
pub use error::RustMethError;pub use lsp::LspTransport;pub use probe::CacheEntry;pub use probe::PersistentCacheEntry;pub use probe::Probe;pub use probe::cache_entries;pub use probe::cache_key_hash;pub use probe::clear_persistent_cache;pub use probe::clear_probe_cache;pub use probe::persistent_cache_dir;pub use probe::persistent_cache_entries;pub use probe::ra_version;pub use query::MethodQuery;pub use query::MethodResult;pub use query::filter_methods;pub use query::query_definition_for_methods;pub use results_cache::ResultsCacheEntry;pub use results_cache::clear_results_cache;pub use results_cache::results_cache_dir;pub use results_cache::results_cache_entries;
Modules§
- analyzer
- Orchestrates the full LSP session Orchestrates the full LSP session:
- error
- Custom errors with
thiserror - lsp
- Minimal LSP transport
- probe
- A utility for generating ephemeral, minimal Cargo projects (“probes”) used to query Language Server Protocol (LSP) intelligence like autocompletions or go-to-definitions.
- query
- Builder API and filter_methods standalone function
High-level builder API for querying
rust-analyzer. - results_
cache - Persistent cache for
query_methodsresults.