Skip to content
dream-path
api

Rust API

Every public function and type in dream-path.

Everything is exported from the crate root.

PageCovers
Functionsnormalize_path, normalize_path_owned, normalize_path_in_place, normalize_path_into, is_normalized_path, and parent_normalized, file_name_normalized, extension_normalized
NormalizedPathThe owned key: constructors, accessors, conversions and trait implementations
Luau extensionlua::PathExtension and its constants, behind the lua feature

dream_path::bstr re-exports the bstr crate, whose BStr and BString appear in the API.

Features#

FeatureAdds
luaThe lua module: PathExtension, an l3i extension providing @dream/path

Off by default.