deno_features 0.35.0

Provides definitions of Deno unstable features.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2018-2026 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,
}