mirror of
https://github.com/denoland/deno.git
synced 2025-01-21 13:00:36 -05:00
0b033140c0
As title. After this PR all npm resolution will be out of the CLI crate.
15 lines
270 B
Rust
15 lines
270 B
Rust
// Copyright 2018-2025 the Deno authors. MIT license.
|
|
|
|
pub use inner::*;
|
|
|
|
#[cfg(feature = "sync")]
|
|
mod inner {
|
|
#![allow(clippy::disallowed_types)]
|
|
|
|
pub use std::sync::Arc as MaybeArc;
|
|
}
|
|
|
|
#[cfg(not(feature = "sync"))]
|
|
mod inner {
|
|
pub use std::rc::Rc as MaybeArc;
|
|
}
|