mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 03:36:06 +00:00
Shuffle around Rojo's public API
This commit is contained in:
parent
ce338a2a72
commit
16c9a23d55
11 changed files with 24 additions and 29 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue