Skip to content

Commit c33d5e5

Browse files
committed
Adding Support for Season of the Deep
1 parent fe29bcd commit c33d5e5

File tree

13 files changed

+30
-19
lines changed

13 files changed

+30
-19
lines changed

RELEASE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# dcli Release Notes
22

3+
## v0.99.0 May 24, 2023
4+
- Added support for Season of the Deep (season_of_the_deep) moment.
5+
36
## v0.98.0 March 3 2023
47

58
- Added support for Lightfall (lightfall), and Season of Definance (season_of_defiance) moments.

src/Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/dcli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dcli"
33
#version
4-
version = "0.98.0"
4+
version = "0.99.0"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
edition = "2018"
77
description = "Library for the dcli collection of command line tools for Destiny 2."

src/dcli/src/enums/moment.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ pub enum Moment {
7474
SeasonOfTheSeraph,
7575
Lightfall,
7676
SeasonOfDefiance,
77+
SeasonOfTheDeep
7778
}
7879

7980
impl Moment {
@@ -166,6 +167,11 @@ impl Moment {
166167
Moment::SeasonOfDefiance => {
167168
Utc.with_ymd_and_hms(2023, 2, 28, 17, 0, 0).unwrap()
168169
}
170+
171+
172+
Moment::SeasonOfTheDeep => {
173+
Utc.with_ymd_and_hms(2023, 5, 23, 17, 0, 0).unwrap()
174+
}
169175
}
170176
}
171177
}
@@ -217,6 +223,7 @@ impl FromStr for Moment {
217223
"season_of_the_seraph" => Ok(Moment::SeasonOfTheSeraph),
218224
"lightfall" => Ok(Moment::Lightfall),
219225
"season_of_defiance" => Ok(Moment::SeasonOfDefiance),
226+
"season_of_the_deep" => Ok(Moment::SeasonOfTheDeep),
220227

221228
_ => Err("Unknown Moment type"),
222229
}
@@ -265,6 +272,7 @@ impl fmt::Display for Moment {
265272
Moment::SeasonOfTheSeraph => "Season of the Seraph",
266273
Moment::Lightfall => "Lightfall",
267274
Moment::SeasonOfDefiance => "Season of Defiance",
275+
Moment::SeasonOfTheDeep => "Season of the Deep"
268276
};
269277

270278
write!(f, "{}", out)

src/dclia/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dclia"
33
#version
4-
version = "0.98.0"
4+
version = "0.99.0"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
description = "Command line tool for retrieving information on current activity for specified player character."
77
homepage = "https://www.mikechambers.com"

src/dcliad/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dcliad"
33
#version
4-
version = "0.98.0"
4+
version = "0.99.0"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
edition = "2018"
77
description = "Command line tool for viewing Destiny 2 activity details."

src/dcliah/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dcliah"
33
#version
4-
version = "0.98.0"
4+
version = "0.99.0"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
edition = "2018"
77
description = "Command line tool for viewing Destiny 2 activity history."

src/dclif/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dclif"
33
#version
4-
version = "0.98.0"
4+
version = "0.99.0"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
edition = "2018"
77
description = "Command line tool for querying specific Destiny 2 pvp stats."

src/dclim/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dclim"
33
#version
4-
version = "0.98.0"
4+
version = "0.99.0"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
edition = "2018"
77
description = "Command line tool for managing and syncing the remote Destiny 2 API manifest database."

src/dclistat/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "dclistat"
33
#version
4-
version = "0.98.0"
4+
version = "0.99.0"
55
authors = ["Mike Chambers <mikechambers@gmail.com>"]
66
edition = "2018"
77
description = "Command line tool for querying specific Destiny 2 pvp stats."

0 commit comments

Comments
 (0)