Crate darkwing

source
Expand description

Darkwing is a browser profile launch and synchronization system that provides reliable and fast process.

Darkwing was started as RFC0001 draft, and the main idea was to create a system that would allow to launch browser profiles without any dispensable network calls, and which would provide real stable experience for users.

§Architecture

The crate is organized into several main modules:

  • cache: Handles caching of browser profiles and related data
  • config: Manages configuration settings for the darkwing
  • database: Provides database integration
  • logger: Implements logging functionality
  • server: Contains the server implementation. Main magic happens here!

Re-exports§

Modules§

  • Redis cache functionality module.
  • Configuration management for the Darkwing application.
  • Database
  • Logging configuration and initialization module.
  • Server Module

Macros§

  • Measures the execution time of a code block and records it as a histogram metric.
  • Returns the intended release for Sentry as an Option<Cow<'static, str>>.
  • Unwraps a Result, capturing any error with Sentry and panicking if it’s an Err.
  • Unwraps an Option, panicking with unreachable!() if the value is None.
  • Similar to unreachable_if_none!, but clones the Option and its contents before unwrapping.