Skip to main content

rust_meth_lib/
lib.rs

1// #![doc = include_str!("../README.md")]
2//! Rust method explorer, queries LSP completions and definitions
3//! for any Rust type, including third-party crates.
4
5#![deny(missing_docs)]
6
7/// Orchestrates the full LSP session
8pub mod analyzer;
9/// Custom errors with `thiserror`
10pub mod error;
11/// Minimal LSP transport
12pub mod lsp;
13pub mod probe;
14/// Builder API and filter_methods standalone function
15pub mod query;
16// Cache results
17pub mod results_cache;
18
19pub use error::RustMethError;
20pub use lsp::LspTransport;
21pub use probe::{
22    CacheEntry, PersistentCacheEntry, Probe, cache_entries, cache_key_hash, clear_persistent_cache,
23    clear_probe_cache, persistent_cache_dir, persistent_cache_entries, ra_version,
24};
25pub use query::{MethodQuery, MethodResult, filter_methods, query_definition_for_methods};
26pub use results_cache::{
27    ResultsCacheEntry, clear_results_cache, results_cache_dir, results_cache_entries,
28};