mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-01 16:37:53 -04:00
Compare commits
7 Commits
release-pl
...
release-pl
Author | SHA1 | Date | |
---|---|---|---|
![]() |
e5707cb106 | ||
![]() |
7f450568f2 | ||
![]() |
e2bf39e2c1 | ||
![]() |
e96081486a | ||
![]() |
63ffbf9f1a | ||
![]() |
65bdf6dd04 | ||
![]() |
43682dc3d3 |
@@ -9,7 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
compile-and-publish:
|
||||
if: startsWith(github.event.release.tag_name, format("{0}-v", matrix.crate))
|
||||
if: startsWith(github.event.release.tag_name, format('{0}-v', matrix.crate))
|
||||
strategy:
|
||||
matrix:
|
||||
crate:
|
||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -4,7 +4,7 @@ version = 3
|
||||
|
||||
[[package]]
|
||||
name = "ac-qu-ai-nt"
|
||||
version = "0.0.5"
|
||||
version = "0.0.6"
|
||||
dependencies = [
|
||||
"ac-qu-ai-nt-cli-clap",
|
||||
"clap",
|
||||
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [0.0.6](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.5...ac-qu-ai-nt-v0.0.6) - 2024-10-05
|
||||
|
||||
### Fixed
|
||||
|
||||
- cover the new cases of `Command` for `GuiEframe` and `TuiRatatui`
|
||||
|
||||
### Other
|
||||
|
||||
- correctly add `gui-eframe` and `tui-ratatui` as features this time around
|
||||
- add `gui-eframe` and `tui-ratatui` as subcommands with aliases `gui` and `tui` respectively
|
||||
- add `gui-eframe` and `tui-ratatui` as features
|
||||
|
||||
## [0.0.5](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.4...ac-qu-ai-nt-v0.0.5) - 2024-10-05
|
||||
|
||||
### Other
|
||||
|
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "ac-qu-ai-nt"
|
||||
description = "A WIP project using AI to break down a user's query, acquire the knowledge to answer it, then transfer those insights to the user"
|
||||
version = "0.0.5"
|
||||
version = "0.0.6"
|
||||
edition = "2021"
|
||||
rust-version = "1.76"
|
||||
|
||||
@@ -10,8 +10,12 @@ license = { workspace = true }
|
||||
repository = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["cli-clap", "tracing"]
|
||||
default = ["cli-clap", "gui-eframe", "tui-ratatui", "tracing"]
|
||||
|
||||
cli-clap = ["dep:ac-qu-ai-nt-cli-clap"]
|
||||
gui-eframe = []
|
||||
tui-ratatui = []
|
||||
|
||||
tracing = ["dep:tracing-subscriber", "ac-qu-ai-nt-cli-clap?/tracing"]
|
||||
|
||||
[dependencies]
|
||||
|
@@ -20,6 +20,12 @@ enum Command {
|
||||
#[cfg(feature = "cli-clap")]
|
||||
#[command(alias = "cli")]
|
||||
CliClap,
|
||||
#[cfg(feature = "gui-eframe")]
|
||||
#[command(alias = "gui")]
|
||||
GuiEframe,
|
||||
#[cfg(feature = "tui-ratatui")]
|
||||
#[command(alias = "tui")]
|
||||
TuiRatatui,
|
||||
}
|
||||
|
||||
fn main() {
|
||||
@@ -52,5 +58,9 @@ fn main() {
|
||||
match command {
|
||||
#[cfg(feature = "cli-clap")]
|
||||
Command::CliClap => ac_qu_ai_nt_cli_clap::main(),
|
||||
#[cfg(feature = "gui-eframe")]
|
||||
Command::GuiEframe => todo!(),
|
||||
#[cfg(feature = "tui-ratatui")]
|
||||
Command::TuiRatatui => todo!(),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user