Skip to main content

default_implicit_ext

Function default_implicit_ext 

Source
pub fn default_implicit_ext() -> Vec<String>
Expand description

The default implicit extensions.

.json stays in the list although no json processor is registered by default: an extensionless reference still finds a .json file, and the processor the caller registers for that kind, if any, reads it.

.js is deliberately absent: the TypeScript js kind requires, which is to say executes, the module, and Rust has no JavaScript runtime to do that in. The Go port leaves it out for the same reason. See DIVERGENCE.md.