Shuffle around Rojo's public API

This commit is contained in:
Lucien Greathouse
2019-12-17 13:58:46 -08:00
parent ce338a2a72
commit 16c9a23d55
11 changed files with 24 additions and 29 deletions

View File

@@ -8,7 +8,7 @@ use rbx_dom_weak::UnresolvedRbxValue;
use serde::{Deserialize, Serialize};
use snafu::{ResultExt, Snafu};
pub static PROJECT_FILENAME: &str = "default.project.json";
static PROJECT_FILENAME: &str = "default.project.json";
/// Error type returned by any function that handles projects.
#[derive(Debug, Snafu)]
@@ -26,6 +26,9 @@ enum Error {
},
}
/// Contains all of the configuration for a Rojo-managed project.
///
/// Project files are stored in `.project.json` files.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(deny_unknown_fields, rename_all = "camelCase")]
pub struct Project {