use Path;
use crateResult;
/// Pull the live schema and write it to `<cache_dir>/schema.toml`.
///
/// Called by `Migrator::run` after migrations apply so the compile-time
/// `query!()` cache always reflects the new schema. The caller controls
/// the cache directory.
pub async