-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(crates): change to workspace with separate crates (#66)
* refactor(crates): change to workspace with separate crates * ci(lint): add workaround for msrv workspace inheritance * build(wix): move wxs to bin crate * test: fix testcases for gh actions * refactor(dependencies): limit tokio to required features * refactor(ci): use package metadata for msrv workaround Refs: #66 * fix(logging): fix logging for split crates Refs: #66 * docs(lib): update the lib description * style(logger): update the formatting of logger::init * style(audio): use explicit import for Result type * refactor(lib): move color-printing functionality to CLI --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
- Loading branch information
1 parent
5327b23
commit 5776676
Showing
20 changed files
with
257 additions
and
186 deletions.
There are no files selected for viewing
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
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,51 @@ | ||
[package] | ||
name = "daktilo" | ||
version.workspace = true | ||
description.workspace = true | ||
authors.workspace = true | ||
license.workspace = true | ||
readme.workspace = true | ||
homepage.workspace = true | ||
repository.workspace = true | ||
keywords.workspace = true | ||
categories.workspace = true | ||
rust-version.workspace = true | ||
edition.workspace = true | ||
default-run = "daktilo" | ||
|
||
[features] | ||
audio-tests = [] | ||
|
||
[[bin]] | ||
name = "daktilo-completions" | ||
path = "src/bin/completions.rs" | ||
|
||
[[bin]] | ||
name = "daktilo-mangen" | ||
path = "src/bin/mangen.rs" | ||
|
||
[dependencies] | ||
clap = { version = "4.4.7", features = ["derive", "env", "wrap_help", "cargo"] } | ||
dirs = "5.0.1" | ||
regex = "1.10.2" | ||
serde_regex = "1.1.0" | ||
clap_complete = "4.4.4" | ||
clap_mangen = "0.2.15" | ||
colored = "2.0.4" | ||
tokio.workspace = true | ||
serde.workspace = true | ||
tracing.workspace = true | ||
daktilo_lib = { path = "../daktilo_lib" } | ||
|
||
[dev-dependencies] | ||
pretty_assertions.workspace = true | ||
|
||
[package.metadata.dist.dependencies.apt] | ||
libasound2-dev = '*' | ||
libxi-dev = '*' | ||
libxtst-dev = '*' | ||
pkg-config = '*' | ||
|
||
[package.metadata.wix] | ||
upgrade-guid = "51610A8E-55C9-4F49-8C9F-3529499D5C60" | ||
path-guid = "2198A7FB-5F3C-4FAB-B253-2314115AD2DD" |
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
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,8 @@ | ||
//! Turn your keyboard into a typewriter! 📇 | ||
#![warn(missing_docs)] | ||
|
||
/// CLI argument parser. | ||
/// | ||
/// Needs to be in a lib for completions and mangen. | ||
pub mod args; |
Oops, something went wrong.