Compare commits

...

7 Commits

Author SHA1 Message Date
J
21df8d1781 Merge pull request #9 from babichjacob/release-plz-2024-10-05T06-53-32Z
chore(ac-qu-ai-nt): release v0.0.6
2024-10-05 02:57:35 -04:00
release-plz-for-ac-qu-ai-nt[bot]
e5707cb106 chore: release 2024-10-05 06:55:34 +00:00
J / Jacob Babich
7f450568f2 fix: cover the new cases of Command for GuiEframe and TuiRatatui 2024-10-05 02:55:12 -04:00
J / Jacob Babich
e2bf39e2c1 chore: correctly add gui-eframe and tui-ratatui as features this time around 2024-10-05 02:53:03 -04:00
J / Jacob Babich
e96081486a chore: add gui-eframe and tui-ratatui as subcommands with aliases gui and tui respectively 2024-10-05 02:50:10 -04:00
J / Jacob Babich
63ffbf9f1a chore: add gui-eframe and tui-ratatui as features 2024-10-05 02:49:53 -04:00
J / Jacob Babich
65bdf6dd04 ci: try single quoting 2024-10-05 02:47:09 -04:00
5 changed files with 30 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ on:
jobs: jobs:
compile-and-publish: 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: strategy:
matrix: matrix:
crate: crate:

2
Cargo.lock generated
View File

@@ -4,7 +4,7 @@ version = 3
[[package]] [[package]]
name = "ac-qu-ai-nt" name = "ac-qu-ai-nt"
version = "0.0.5" version = "0.0.6"
dependencies = [ dependencies = [
"ac-qu-ai-nt-cli-clap", "ac-qu-ai-nt-cli-clap",
"clap", "clap",

View File

@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [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 ## [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 ### Other

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "ac-qu-ai-nt" 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" 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" edition = "2021"
rust-version = "1.76" rust-version = "1.76"
@@ -10,8 +10,12 @@ license = { workspace = true }
repository = { workspace = true } repository = { workspace = true }
[features] [features]
default = ["cli-clap", "tracing"] default = ["cli-clap", "gui-eframe", "tui-ratatui", "tracing"]
cli-clap = ["dep:ac-qu-ai-nt-cli-clap"] cli-clap = ["dep:ac-qu-ai-nt-cli-clap"]
gui-eframe = []
tui-ratatui = []
tracing = ["dep:tracing-subscriber", "ac-qu-ai-nt-cli-clap?/tracing"] tracing = ["dep:tracing-subscriber", "ac-qu-ai-nt-cli-clap?/tracing"]
[dependencies] [dependencies]

View File

@@ -20,6 +20,12 @@ enum Command {
#[cfg(feature = "cli-clap")] #[cfg(feature = "cli-clap")]
#[command(alias = "cli")] #[command(alias = "cli")]
CliClap, CliClap,
#[cfg(feature = "gui-eframe")]
#[command(alias = "gui")]
GuiEframe,
#[cfg(feature = "tui-ratatui")]
#[command(alias = "tui")]
TuiRatatui,
} }
fn main() { fn main() {
@@ -52,5 +58,9 @@ fn main() {
match command { match command {
#[cfg(feature = "cli-clap")] #[cfg(feature = "cli-clap")]
Command::CliClap => ac_qu_ai_nt_cli_clap::main(), Command::CliClap => ac_qu_ai_nt_cli_clap::main(),
#[cfg(feature = "gui-eframe")]
Command::GuiEframe => todo!(),
#[cfg(feature = "tui-ratatui")]
Command::TuiRatatui => todo!(),
} }
} }