-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add footer status countdown & duration since
- Loading branch information
Showing
19 changed files
with
201 additions
and
128 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# See https://nexte.st/book/configuration.html for format and defaults | ||
# Profiles defined here inherit from profile.default | ||
|
||
# profile used in GitHub test runs | ||
# - Retry a few times to detect flaky tests | ||
# - Call out every test as it finishes, including slow, skipped and flaky tests | ||
# - List failures again at the end. | ||
# - Run all tests even if some failed. | ||
# - Output test results in JUnit format. | ||
[profile.ci] | ||
# "retries" defines the number of times a test should be retried. If set to a | ||
# non-zero value, tests that succeed on a subsequent attempt will be marked as | ||
# non-flaky. Can be overridden through the `--retries` option. | ||
retries = 2 | ||
|
||
# * none: no output | ||
# * fail: show failed (including exec-failed) tests | ||
# * retry: show flaky and retried tests | ||
# * slow: show slow tests | ||
# * pass: show passed tests | ||
# * skip: show skipped tests (most useful for CI) | ||
# * all: all of the above | ||
# | ||
# Each value includes all the values above it; for example, "slow" includes | ||
# failed and retried tests. | ||
status-level = "all" | ||
|
||
# * "immediate-final": output failures as soon as they happen and at the end of | ||
# the test run; combination of "immediate" and "final" | ||
failure-output = "immediate-final" | ||
|
||
# Cancel the test run on the first failure. For CI runs, consider setting this | ||
# to false. | ||
fail-fast = false | ||
|
||
[profile.ci.junit] | ||
# Output a JUnit report into the given file inside 'store.dir/<profile-name>'. | ||
# The default value for store.dir is 'target/nextest', so the following file | ||
# is written to the target/nextest/ci/ directory. | ||
path = "junit.xml" | ||
|
||
# profile used in GitHub coverage runs | ||
# - lower retry count as a compromise between speed and resilience | ||
# - no fail-fast to at least keep coverage percentages accurate. | ||
[profile.coverage] | ||
retries = 1 | ||
fail-fast = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,7 @@ version = "0.5.2" | |
authors = ["voiceapiai <[email protected]>"] | ||
license = "MIT" | ||
edition = "2021" | ||
exclude = [ | ||
"assets/*", | ||
".github", | ||
"CONTRIBUTING.md", | ||
"*.log", | ||
"tags", | ||
] | ||
exclude = ["assets/*", ".github", "CONTRIBUTING.md", "*.log", "tags"] | ||
rust-version = "1.74.0" | ||
|
||
build = "build.rs" | ||
|
@@ -29,7 +23,7 @@ panic = 'unwind' | |
# debug = true | ||
|
||
[workspace] | ||
members = ["ralertsinua-http", "ralertsinua-geo", "ralertsinua-models"] | ||
members = ["ralertsinua-geo", "ralertsinua-http", "ralertsinua-models"] | ||
|
||
[package.metadata.release] | ||
allow-branch = ["main"] | ||
|
@@ -73,17 +67,8 @@ inherits = "release" | |
lto = "thin" | ||
|
||
[dependencies] | ||
ralertsinua-models = { path = "ralertsinua-models", version = "0.5.2" } | ||
ralertsinua-geo = { path = "ralertsinua-geo", version = "0.5.2", features = [ | ||
"tui", | ||
] } | ||
ralertsinua-http = { path = "ralertsinua-http", version = "0.5.2", features = [ | ||
"cache", | ||
], default-features = false } | ||
|
||
async-trait = "0.1.80" | ||
bincode = "1.3.3" | ||
chrono = "0.4.38" | ||
clap = { version = "4.5.4", features = [ | ||
"derive", | ||
"cargo", | ||
|
@@ -99,16 +84,23 @@ directories = "5.0.1" | |
dotenv_config = "0.1.9" | ||
dotenvy = "0.15.7" | ||
dotenvy_macro = "0.15.7" | ||
dur = "0.5.1" | ||
futures = "0.3.30" | ||
geo = "0.28.0" | ||
getset = "0.1.2" | ||
dur = "0.5.1" | ||
icu_collator = "1.5.0" | ||
icu_locid = { version = "1.5.0", features = ["serde"] } | ||
lazy_static = "1.4.0" | ||
log = "0.4.21" | ||
michie = "3.0.2" | ||
miette = { version = "7.2.0", features = ["fancy", "serde"] } | ||
ralertsinua-geo = { path = "ralertsinua-geo", version = "0.5.2", features = [ | ||
"tui", | ||
] } | ||
ralertsinua-http = { path = "ralertsinua-http", version = "0.5.2", features = [ | ||
"cache", | ||
], default-features = false } | ||
ralertsinua-models = { path = "ralertsinua-models", version = "0.5.2" } | ||
ratatui = { version = "0.26.3", features = ["serde", "macros"] } | ||
ratatui-macros = "0.4.0" | ||
rust-i18n = "3.0.1" | ||
|
@@ -136,14 +128,13 @@ tui-logger = { version = "0.11.1", features = ["tracing-support"] } | |
vergen = { version = "8.3.1", features = ["build", "git", "gitoxide", "cargo"] } | ||
|
||
[dev-dependencies] | ||
mockall = "0.12.1" | ||
mockito = "1.4.0" | ||
codspeed-criterion-compat = "2.6.0" | ||
criterion = { version = "0.5.1", features = ["tokio", "async_tokio"] } | ||
fakeit = "1.2.0" | ||
mockall = "0.12.1" | ||
mockito = "1.4.0" | ||
pretty_assertions = "1.4.0" | ||
|
||
|
||
[features] | ||
default = ["cache", "reqwest-default-tls"] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ license = "MIT" | |
edition = "2021" | ||
authors = ["voiceapiai <[email protected]>"] | ||
readme = "./README.md" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,18 +9,18 @@ license = "MIT" | |
edition = "2021" | ||
authors = ["voiceapiai <[email protected]>"] | ||
readme = "./README.md" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
ralertsinua-models = { path = "../ralertsinua-models", version = "0.5.2" } | ||
|
||
async-trait = "0.1.80" | ||
bytes = "1.6.0" | ||
http = "1.1.0" | ||
miette = { version = "7.2.0", features = [] } | ||
log = "0.4.21" | ||
miette = { version = "7.2.0", features = [] } | ||
native-tls = { version = "0.2.11", optional = true } | ||
quick_cache = { version = "0.5", default-features = false, optional = true } | ||
ralertsinua-models = { path = "../ralertsinua-models", version = "0.5.2" } | ||
#[rustfmt::skip] | ||
reqwest = { version = "0.12", features = [ | ||
"json", | ||
|
@@ -29,7 +29,6 @@ serde = { version = "1.0.198", features = ["derive"] } | |
serde_json = "1.0.116" | ||
thiserror = "1.0" | ||
time = { version = "0.3.36", features = ["serde", "formatting", "parsing"] } | ||
quick_cache = { version = "0.5", default-features = false, optional = true } | ||
|
||
[features] | ||
default = ["cache", "reqwest-default-tls"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ license = "MIT" | |
edition = "2021" | ||
authors = ["voiceapiai <[email protected]>"] | ||
readme = "./README.md" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
|
Oops, something went wrong.