Update main to gamelog v0.7.1 and early tui model from dev. #15
@@ -1,4 +1,4 @@
|
||||
use crate::{Down, Play, Team, TerrainState, error};
|
||||
use crate::{Down, Play, TerrainState, error};
|
||||
use serde::Deserialize;
|
||||
|
||||
type Offence = Team;
|
||||
@@ -76,6 +76,19 @@ impl Event {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Clone, PartialEq)]
|
||||
pub enum Team {
|
||||
ArizonaState,
|
||||
#[deprecated(since = "0.2.0", note = "Team left the project.")]
|
||||
BoiseState,
|
||||
Colorado,
|
||||
Iowa,
|
||||
Nebraska,
|
||||
SouthCarolina,
|
||||
Syracuse,
|
||||
TexasAnM,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Clone, PartialEq, Default)]
|
||||
pub enum ScorePoints {
|
||||
#[default]
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
mod action;
|
||||
mod error;
|
||||
#[allow(deprecated)]
|
||||
mod event;
|
||||
mod file;
|
||||
mod game;
|
||||
mod period;
|
||||
#[allow(deprecated)]
|
||||
mod play;
|
||||
mod terrain;
|
||||
|
||||
|
||||
@@ -26,16 +26,3 @@ pub enum Down {
|
||||
Third,
|
||||
Fourth,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Clone, PartialEq)]
|
||||
pub enum Team {
|
||||
ArizonaState,
|
||||
#[deprecated(since = "0.2.0", note = "Team left the project.")]
|
||||
BoiseState,
|
||||
Colorado,
|
||||
Iowa,
|
||||
Nebraska,
|
||||
SouthCarolina,
|
||||
Syracuse,
|
||||
TexasAnM,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user