pub fn load() -> Result<Self> {
        // TODO: Traverse up the directory hierarchy until a `Spatial.toml` file is
        // found or the root directory is reached.
        let mut contents = String::new();
        File::open("Spatial.toml")
            .context("Could not find a `Spatial.toml` in current directory")?
            .read_to_string(&mut contents)
            .context("Failed to read contents of Spatial.toml")?;

        toml::from_str(&contents).context("Failed to deserialize Spatial.toml")
    }
/// Attempts to load the project configuration from a `Spatial.toml` file.
Attempts to load the project configuration from a `Spatial.toml` file.
Attempts to load the project configuration from a ` Spatial . toml ` file .
pub fn load() -> Result<Self> {
        // TODO: Traverse up the directory hierarchy until a `Spatial.toml` file is
        // found or the root directory is reached.
        let mut contents = String::new();
        File::open("Spatial.toml")
            .context("Could not find a `Spatial.toml` in current directory")?
            .read_to_string(&mut contents)
            .context("Failed to read contents of Spatial.toml")?;
        toml::from_str(&contents).context("Failed to deserialize Spatial.toml")
    }
pub fn load ( ) -> Result < Self > { // TODO: Traverse up the directory hierarchy until a `Spatial.toml` file is // found or the root directory is reached. let mut contents = String :: new ( ) ; File :: open ( " " ) . context ( " " ) ? . read_to_string ( & mut contents ) . context ( " " ) ? ; toml :: from_str ( & contents ) . context ( " " ) }
Attempts to load the project configuration from a `Spatial.toml` file.
Attempts to load the project configuration from a ` Spatial . toml ` file .