edge-locations 0.2.2

Locate Microsoft Edge executables across desktop platforms.
Documentation
  • Coverage
  • 100%
    9 out of 9 items documented0 out of 8 items with examples
  • Size
  • Source code size: 9.26 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.96 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 46s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • shirshak55

edge-locations

Locate Microsoft Edge executables on macOS, Windows, and Linux.

[dependencies]
edge-locations = "0.1"

Quick start

let path = edge_locations::get_any_edge_stable()?;
println!("{}", path.display());

API

Function Returns Description
locate(channel) Result<BrowserLocation, LocateError> Find Edge for a specific ReleaseChannel.
discover() Vec<BrowserLocation> All installed Edge channels.
get_edge_path() Result<PathBuf, LocateError> Stable channel path.
get_edge_beta_path() Result<PathBuf, LocateError> Beta channel path.
get_edge_dev_path() Result<PathBuf, LocateError> Dev channel path.
get_edge_canary_path() Result<PathBuf, LocateError> Canary channel path (macOS/Windows only).
get_any_edge_stable() Result<PathBuf, LocateError> Best available, preferring stable.
get_any_edge_latest() Result<PathBuf, LocateError> Best available, preferring newest.

Re-exports

BrowserLocation, LocateError, ReleaseChannel from browser-locations-core.

Environment override

export BROWSER_LOCATIONS_EDGE_BETA_PATH=/usr/bin/microsoft-edge-beta