Crate rust_assistant

source ·
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§

  • Represents the name and version of a crate.
  • Represents a path within a specific crate’s directory structure.
  • Represents the contents of a directory, including files and subdirectories.
  • Represents a range of lines in a file.
  • Represents an item found in a crate.
  • Represents a query for searching items in a crate.
  • Represents a specific line found in a search operation.
  • Represents a query for searching lines within files in a crate.

Enums§

  • Defines various types of items that can be searched for in a crate.
  • Defines different modes for searching text.