//! A stand-in for the `dirs` crate (6.x), used only in johnmcm.com's //! WebAssembly build of MathCAT through `[patch.crates-io]` in ../../Cargo.toml. //! //! MathCAT calls `dirs::config_dir()` once, to look for a user preferences //! file. On wasm32-unknown-unknown the real crate answers `None` for every //! directory, as this does, but it depends on dirs-sys and option-ext //! (MPL-2.0); this stand-in keeps them out of the module. Written for //! johnmcm.com (2026), MIT licence, as the rest of this folder. use std::path::PathBuf; /// There is no configuration directory in a browser. pub fn config_dir() -> Option { None }