Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 726 Bytes

CHANGELOG.md

File metadata and controls

20 lines (14 loc) · 726 Bytes

Changelog

All notable changes to the environment-detector library will be documented in this file.

This project adheres to Semantic Versioning.

0.1.0

This is the initial release of apollo-environment-detector. It provides the following 2 functions for detecting a Compute Environment:

/// Detect a single, most likely [`ComputeEnvironment`] above a certain weighted threshold.
pub fn detect_one(threshold: u16) -> Option<ComputeEnvironment>;

/// Detect potential [`ComputeEnvironment`]s above a certain weighted threshold.
///
/// Returns an ordered [`Vec`] with the highest weighted candidates first.
pub fn detect(threshold: u16) -> Vec<ComputeEnvironment>;