Skip to content

Commit

Permalink
deno|bun: make non-experimental (#1152)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx authored Dec 13, 2023
1 parent 6c80436 commit c2623f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1213,8 +1213,8 @@ You can see the core plugins with `rtx plugin ls --core`.
- [Ruby](./docs/ruby.md)
- [Go](./docs/go.md)
- [Java](./docs/java.md)
- [Deno (experimental)](./docs/deno.md)
- [Bun (experimental)](./docs/bun.md)
- [Deno](./docs/deno.md)
- [Bun](./docs/bun.md)

## FAQs

Expand Down
8 changes: 3 additions & 5 deletions src/plugins/core/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ pub type PluginMap = BTreeMap<String, Arc<dyn Plugin>>;

pub static CORE_PLUGINS: Lazy<PluginMap> = Lazy::new(|| {
let plugins: Vec<Arc<dyn Plugin>> = vec![
Arc::new(BunPlugin::new()),
Arc::new(DenoPlugin::new()),
Arc::new(GoPlugin::new()),
Arc::new(JavaPlugin::new()),
if *RTX_NODE_BUILD == Some(true) {
Expand All @@ -56,11 +58,7 @@ pub static CORE_PLUGINS: Lazy<PluginMap> = Lazy::new(|| {
});

pub static EXPERIMENTAL_CORE_PLUGINS: Lazy<PluginMap> = Lazy::new(|| {
let plugins: Vec<Arc<dyn Plugin>> = vec![
Arc::new(BunPlugin::new()),
Arc::new(DenoPlugin::new()),
Arc::new(ErlangPlugin::new()),
];
let plugins: Vec<Arc<dyn Plugin>> = vec![Arc::new(ErlangPlugin::new())];
plugins
.into_iter()
.map(|plugin| (plugin.name().to_string(), plugin))
Expand Down

0 comments on commit c2623f7

Please sign in to comment.