deno/runtime/features/structs.rs
David Sherret e601df6bfb
fix: allow specifying otel config in --env-file (#29240)
Alternative to https://github.com/denoland/deno/pull/28127 that does cli
flag parsing, then env file loading, then resolves config with env vars.

This also fixes several other issues related to env vars in the
--env-file not being used for certain config.

Closes https://github.com/denoland/deno/issues/27851
Closes https://github.com/denoland/deno/issues/29171
Closes https://github.com/denoland/deno/pull/28127
Closes #29256
2025-05-11 21:09:52 -04:00

19 lines
411 B
Rust

// Copyright 2018-2025 the Deno authors. MIT license.
#[derive(Clone, Debug)]
pub enum UnstableFeatureKind {
Cli,
Runtime,
}
#[derive(Debug)]
#[allow(dead_code)]
pub struct UnstableFeatureDefinition {
pub name: &'static str,
pub flag_name: &'static str,
pub help_text: &'static str,
pub show_in_help: bool,
pub id: i32,
pub kind: UnstableFeatureKind,
pub config_file_option: &'static str,
}