Expand description
§Rust Assistant Library
rust_assistant
is a comprehensive library designed to enhance the Rust development experience,
offering a suite of tools and functionalities for downloading, caching, searching, and analyzing Rust crates.
This library encapsulates a range of modules, each specializing in different aspects of crate management and code analysis. It aims to streamline the process of working with Rust crates, providing developers with efficient access to crate data, advanced search capabilities, and more.
§Features
-
Crate Downloading: Facilitates the downloading of crates from sources like crates.io, handling network requests and data processing.
-
Crate Caching: Implements caching mechanisms to store downloaded crates, optimizing performance and reducing redundant operations.
-
Search Functionality: Provides advanced search functionalities within crate contents, including source code, documentation, and other relevant data.
§Modules
app
: Contains the core application logic for the Rust Assistant.cache
: Provides caching functionalities for crates.download
: Handles the downloading of crates and their contents.search
: Implements search algorithms and data structures for efficient crate content search.
Re-exports§
Modules§
Structs§
- Crate
Version - Represents the name and version of a crate.
- Crate
Version Path - Represents a path within a specific crate’s directory structure.
- Directory
- Represents the contents of a directory, including files and subdirectories.
- Directory
Mut - File
Line Range - Represents a range of lines in a file.
- Item
- Represents an item found in a crate.
- Item
Query - Represents a query for searching items in a crate.
- Line
- Represents a specific line found in a search operation.
- Line
Query - Represents a query for searching lines within files in a crate.
Enums§
- Item
Type - Defines various types of items that can be searched for in a crate.
- Search
Mode - Defines different modes for searching text.