mirror of
https://github.com/babichjacob/ac-qu-ai-nt.git
synced 2025-10-02 16:57:53 -04:00
Compare commits
31 Commits
release-pl
...
ac-qu-ai-n
Author | SHA1 | Date | |
---|---|---|---|
![]() |
54ae1dd8ba | ||
![]() |
eab33bcf08 | ||
![]() |
10b798580d | ||
![]() |
870af4adad | ||
![]() |
179eeab601 | ||
![]() |
feb0d150c4 | ||
![]() |
dc17a8c5cd | ||
![]() |
900b39d29b | ||
![]() |
4e159f7b71 | ||
![]() |
87ebfed048 | ||
![]() |
9f34e73729 | ||
![]() |
98224e6008 | ||
![]() |
4ea63f731e | ||
![]() |
062c31bd9a | ||
![]() |
7d76b61c76 | ||
![]() |
83fa6398cf | ||
![]() |
18cb5043cf | ||
![]() |
dbccf23a50 | ||
![]() |
a2c3013fd5 | ||
![]() |
1175fa22d6 | ||
![]() |
13b7053386 | ||
![]() |
972129536f | ||
![]() |
ae7de503a4 | ||
![]() |
21df8d1781 | ||
![]() |
e5707cb106 | ||
![]() |
7f450568f2 | ||
![]() |
e2bf39e2c1 | ||
![]() |
e96081486a | ||
![]() |
63ffbf9f1a | ||
![]() |
65bdf6dd04 | ||
![]() |
43682dc3d3 |
45
.github/workflows/check-and-build-and-test.yml
vendored
45
.github/workflows/check-and-build-and-test.yml
vendored
@@ -34,6 +34,15 @@ jobs:
|
|||||||
check-and-build:
|
check-and-build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
minimal_or_latest:
|
||||||
|
- build_command: cargo minimal-versions build --direct --verbose
|
||||||
|
check_command: cargo minimal-versions check --direct --verbose
|
||||||
|
job_name_suffix: with minimal versions of direct dependencies
|
||||||
|
|
||||||
|
- build_command: cargo build --verbose
|
||||||
|
check_command: cargo check --verbose
|
||||||
|
job_name_suffix: (with latest (typically) versions of dependencies)
|
||||||
|
|
||||||
supporteds:
|
supporteds:
|
||||||
- runner: macos-latest
|
- runner: macos-latest
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
@@ -67,7 +76,7 @@ jobs:
|
|||||||
|
|
||||||
- runner: windows-latest
|
- runner: windows-latest
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
name: Check and build ${{ matrix.supporteds.target }} (on ${{ matrix.supporteds.runner }})
|
name: Check and build ${{ matrix.supporteds.target }} (on ${{ matrix.supporteds.runner }}) ${{ matrix.minimal_or_latest.job_name_suffix }}
|
||||||
runs-on: ${{ matrix.supporteds.runner }}
|
runs-on: ${{ matrix.supporteds.runner }}
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
env:
|
env:
|
||||||
@@ -87,16 +96,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
targets: ${{ matrix.supporteds.target }}
|
targets: ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
|
- name: Install cargo-hack
|
||||||
|
uses: taiki-e/install-action@cargo-hack
|
||||||
|
- name: Install cargo-minimal-versions
|
||||||
|
uses: taiki-e/install-action@cargo-minimal-versions
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
shared-key: ${{ matrix.supporteds.target }}
|
shared-key: ${{ matrix.supporteds.target }}
|
||||||
cache-on-failure: "true"
|
cache-on-failure: "true"
|
||||||
|
|
||||||
- name: Check
|
- name: Check
|
||||||
run: cargo check --verbose --target ${{ matrix.supporteds.target }}
|
run: ${{ matrix.minimal_or_latest.check_command }} --target ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose --target ${{ matrix.supporteds.target }}
|
run: ${{ matrix.minimal_or_latest.build_command }} --target ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
@@ -154,28 +168,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cargo nextest run --target ${{ matrix.supporteds.target }}
|
run: cargo nextest run --target ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
minimal-dependencies-check-build-and-test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 5
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
|
||||||
uses: dtolnay/rust-toolchain@stable
|
|
||||||
- name: Install cargo-minimal-versions
|
|
||||||
uses: taiki-e/install-action@cargo-hack
|
|
||||||
- name: Install cargo-minimal-versions
|
|
||||||
uses: taiki-e/install-action@cargo-minimal-versions
|
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
|
||||||
|
|
||||||
- name: Check (minimal direct dependencies)
|
|
||||||
run: cargo minimal-versions check --direct --workspace
|
|
||||||
|
|
||||||
- name: Build (minimal direct dependencies)
|
|
||||||
run: cargo minimal-versions build --direct --workspace
|
|
||||||
|
|
||||||
- name: Test (minimal direct dependencies)
|
|
||||||
run: cargo minimal-versions test --direct --workspace
|
|
||||||
|
@@ -9,12 +9,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
compile-and-publish:
|
compile-and-publish:
|
||||||
if: startsWith(github.event.release.tag_name, format("{0}-v", matrix.crate))
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
crate:
|
|
||||||
- ac-qu-ai-nt
|
|
||||||
- ac-qu-ai-nt-cli-clap
|
|
||||||
supporteds:
|
supporteds:
|
||||||
- runner: macos-latest
|
- runner: macos-latest
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
@@ -59,7 +55,11 @@ jobs:
|
|||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust toolchain
|
- name: Install prerequisite build chain
|
||||||
|
if: matrix.supporteds.install_prerequisite
|
||||||
|
run: ${{ matrix.supporteds.install_prerequisite }}
|
||||||
|
|
||||||
|
- name: Install stable Rust toolchain
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
@@ -70,8 +70,31 @@ jobs:
|
|||||||
- name: Build for release
|
- name: Build for release
|
||||||
run: cargo build --release --verbose
|
run: cargo build --release --verbose
|
||||||
|
|
||||||
- uses: taiki-e/upload-rust-binary-action@v1
|
# Have to do it like this because of https://github.com/actions/runner/issues/1985
|
||||||
|
- if: startsWith(github.event.release.tag_name, 'ac-qu-ai-nt-v')
|
||||||
|
uses: taiki-e/upload-rust-binary-action@v1
|
||||||
with:
|
with:
|
||||||
bin: ${{ matrix.crate }}
|
bin: ac-qu-ai-nt
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
target: ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
|
- if: startsWith(github.event.release.tag_name, 'ac-qu-ai-nt-cli-clap-v')
|
||||||
|
uses: taiki-e/upload-rust-binary-action@v1
|
||||||
|
with:
|
||||||
|
bin: ac-qu-ai-nt-cli-clap
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
target: ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
|
- if: startsWith(github.event.release.tag_name, 'ac-qu-ai-nt-gui-eframe-v')
|
||||||
|
uses: taiki-e/upload-rust-binary-action@v1
|
||||||
|
with:
|
||||||
|
bin: ac-qu-ai-nt-gui-eframe
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
target: ${{ matrix.supporteds.target }}
|
||||||
|
|
||||||
|
- if: startsWith(github.event.release.tag_name, 'ac-qu-ai-nt-tui-ratatui-v')
|
||||||
|
uses: taiki-e/upload-rust-binary-action@v1
|
||||||
|
with:
|
||||||
|
bin: ac-qu-ai-nt-tui-ratatui
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
target: ${{ matrix.supporteds.target }}
|
target: ${{ matrix.supporteds.target }}
|
||||||
|
27
Cargo.lock
generated
27
Cargo.lock
generated
@@ -4,9 +4,11 @@ version = 3
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ac-qu-ai-nt"
|
name = "ac-qu-ai-nt"
|
||||||
version = "0.0.5"
|
version = "0.0.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ac-qu-ai-nt-cli-clap",
|
"ac-qu-ai-nt-cli-clap",
|
||||||
|
"ac-qu-ai-nt-gui-eframe",
|
||||||
|
"ac-qu-ai-nt-tui-ratatui",
|
||||||
"clap",
|
"clap",
|
||||||
"dirs-next",
|
"dirs-next",
|
||||||
"tracing-subscriber",
|
"tracing-subscriber",
|
||||||
@@ -14,12 +16,33 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ac-qu-ai-nt-cli-clap"
|
name = "ac-qu-ai-nt-cli-clap"
|
||||||
version = "0.0.4"
|
version = "0.0.6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"tracing",
|
"tracing",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ac-qu-ai-nt-core"
|
||||||
|
version = "0.0.2"
|
||||||
|
dependencies = [
|
||||||
|
"tracing",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ac-qu-ai-nt-gui-eframe"
|
||||||
|
version = "0.0.3"
|
||||||
|
dependencies = [
|
||||||
|
"tracing",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ac-qu-ai-nt-tui-ratatui"
|
||||||
|
version = "0.0.3"
|
||||||
|
dependencies = [
|
||||||
|
"tracing",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "anstream"
|
name = "anstream"
|
||||||
version = "0.6.15"
|
version = "0.6.15"
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
members = ["cli-clap", "multibinary"]
|
members = ["core", "cli-clap", "gui-eframe", "tui-ratatui", "multibinary"]
|
||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
|
@@ -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-cli-clap-v0.0.5...ac-qu-ai-nt-cli-clap-v0.0.6) - 2024-10-06
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- specify the correct download URLs for Binstall to work correctly
|
||||||
|
|
||||||
|
## [0.0.5](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-cli-clap-v0.0.4...ac-qu-ai-nt-cli-clap-v0.0.5) - 2024-10-05
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- change `Hello, world!` to `What's up world?` to allow me to cut a release
|
||||||
|
|
||||||
## [0.0.4](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-cli-clap-v0.0.3...ac-qu-ai-nt-cli-clap-v0.0.4) - 2024-09-30
|
## [0.0.4](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-cli-clap-v0.0.3...ac-qu-ai-nt-cli-clap-v0.0.4) - 2024-09-30
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ac-qu-ai-nt-cli-clap"
|
name = "ac-qu-ai-nt-cli-clap"
|
||||||
description = "A CLI (written with clap) for ac-qu-ai-nt"
|
description = "A CLI (written with clap) for ac-qu-ai-nt"
|
||||||
version = "0.0.4"
|
version = "0.0.6"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.76"
|
rust-version = "1.76"
|
||||||
|
|
||||||
@@ -16,3 +16,6 @@ tracing = ["dep:tracing"]
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
clap = { workspace = true, features = ["derive", "env"] }
|
clap = { workspace = true, features = ["derive", "env"] }
|
||||||
tracing = { workspace = true, optional = true }
|
tracing = { workspace = true, optional = true }
|
||||||
|
|
||||||
|
[package.metadata.binstall]
|
||||||
|
pkg-url = "{ repo }/releases/download/{ name }-v{ version }/{ name }-{ target }{ archive-suffix }"
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
pub fn main() {
|
pub fn main() {
|
||||||
#[cfg(feature = "tracing")]
|
#[cfg(feature = "tracing")]
|
||||||
tracing::info!("Hello, world!");
|
tracing::info!("What's up, world?");
|
||||||
}
|
}
|
||||||
|
47
core/CHANGELOG.md
Normal file
47
core/CHANGELOG.md
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.0.2](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-core-v0.0.1...ac-qu-ai-nt-core-v0.0.2) - 2024-10-06
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- release
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-core-v0.0.1) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- add package `description`s so that they can actually be published
|
||||||
|
- release
|
||||||
|
- run cargo fmt
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-core-v0.0.1) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- release
|
||||||
|
- run cargo fmt
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-core-v0.0.1) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- run cargo fmt
|
17
core/Cargo.toml
Normal file
17
core/Cargo.toml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
[package]
|
||||||
|
name = "ac-qu-ai-nt-core"
|
||||||
|
description = "The core library of ac-qu-ai-nt. If you're looking for the application, see cli-clap or gui-eframe or tui-ratatui or the multibinary"
|
||||||
|
version = "0.0.2"
|
||||||
|
edition = "2021"
|
||||||
|
rust-version = "1.76"
|
||||||
|
|
||||||
|
authors = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
repository = { workspace = true }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["tracing"]
|
||||||
|
tracing = ["dep:tracing"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
tracing = { workspace = true, optional = true }
|
1
core/src/lib.rs
Normal file
1
core/src/lib.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
47
gui-eframe/CHANGELOG.md
Normal file
47
gui-eframe/CHANGELOG.md
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.0.3](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-gui-eframe-v0.0.2...ac-qu-ai-nt-gui-eframe-v0.0.3) - 2024-10-06
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- specify the correct download URLs for Binstall to work correctly
|
||||||
|
|
||||||
|
## [0.0.2](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-gui-eframe-v0.0.1...ac-qu-ai-nt-gui-eframe-v0.0.2) - 2024-10-06
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- release
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-gui-eframe-v0.0.1) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- add package `description`s so that they can actually be published
|
||||||
|
- release
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-gui-eframe-v0.0.1) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- release
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-gui-eframe-v0.0.1) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
20
gui-eframe/Cargo.toml
Normal file
20
gui-eframe/Cargo.toml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
[package]
|
||||||
|
name = "ac-qu-ai-nt-gui-eframe"
|
||||||
|
description = "A GUI (written with egui / eframe) for ac-qu-ai-nt"
|
||||||
|
version = "0.0.3"
|
||||||
|
edition = "2021"
|
||||||
|
rust-version = "1.76"
|
||||||
|
|
||||||
|
authors = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
repository = { workspace = true }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["tracing"]
|
||||||
|
tracing = ["dep:tracing"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
tracing = { workspace = true, optional = true }
|
||||||
|
|
||||||
|
[package.metadata.binstall]
|
||||||
|
pkg-url = "{ repo }/releases/download/{ name }-v{ version }/{ name }-{ target }{ archive-suffix }"
|
4
gui-eframe/src/lib.rs
Normal file
4
gui-eframe/src/lib.rs
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
pub fn main() {
|
||||||
|
#[cfg(feature = "tracing")]
|
||||||
|
tracing::info!("Hello from the eframe-based GUI!");
|
||||||
|
}
|
1
gui-eframe/src/main.rs
Normal file
1
gui-eframe/src/main.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
use ac_qu_ai_nt_gui_eframe::main;
|
@@ -7,6 +7,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.0.10](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.9...ac-qu-ai-nt-v0.0.10) - 2024-10-06
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- updated the following local packages: ac-qu-ai-nt-cli-clap, ac-qu-ai-nt-gui-eframe, ac-qu-ai-nt-tui-ratatui
|
||||||
|
|
||||||
|
## [0.0.9](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.8...ac-qu-ai-nt-v0.0.9) - 2024-10-06
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- updated the following local packages: ac-qu-ai-nt-gui-eframe, ac-qu-ai-nt-tui-ratatui
|
||||||
|
|
||||||
|
## [0.0.8](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.7...ac-qu-ai-nt-v0.0.8) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
||||||
|
|
||||||
|
## [0.0.7](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-v0.0.6...ac-qu-ai-nt-v0.0.7) - 2024-10-05
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- updated the following local packages: ac-qu-ai-nt-cli-clap
|
||||||
|
|
||||||
|
## [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
|
||||||
|
@@ -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.10"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
rust-version = "1.76"
|
rust-version = "1.76"
|
||||||
|
|
||||||
@@ -10,12 +10,25 @@ 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"]
|
||||||
tracing = ["dep:tracing-subscriber", "ac-qu-ai-nt-cli-clap?/tracing"]
|
gui-eframe = ["dep:ac-qu-ai-nt-gui-eframe"]
|
||||||
|
tui-ratatui = ["dep:ac-qu-ai-nt-tui-ratatui"]
|
||||||
|
|
||||||
|
tracing = [
|
||||||
|
"dep:tracing-subscriber",
|
||||||
|
"ac-qu-ai-nt-cli-clap?/tracing",
|
||||||
|
"ac-qu-ai-nt-gui-eframe?/tracing",
|
||||||
|
"ac-qu-ai-nt-tui-ratatui?/tracing",
|
||||||
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
ac-qu-ai-nt-cli-clap = { version = "0.0.4", path = "../cli-clap", optional = true }
|
ac-qu-ai-nt-cli-clap = { version = "0.0.6", path = "../cli-clap", optional = true }
|
||||||
|
ac-qu-ai-nt-gui-eframe = { version = "0.0.3", path = "../gui-eframe", optional = true }
|
||||||
|
ac-qu-ai-nt-tui-ratatui = { version = "0.0.3", path = "../tui-ratatui", optional = true }
|
||||||
|
|
||||||
clap = { workspace = true, features = ["derive", "env"] }
|
clap = { workspace = true, features = ["derive", "env"] }
|
||||||
dirs-next = "2.0.0"
|
dirs-next = "2.0.0"
|
||||||
|
|
||||||
tracing-subscriber = { version = "0.3.18", optional = true }
|
tracing-subscriber = { version = "0.3.18", optional = true }
|
||||||
|
@@ -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 => ac_qu_ai_nt_gui_eframe::main(),
|
||||||
|
#[cfg(feature = "tui-ratatui")]
|
||||||
|
Command::TuiRatatui => ac_qu_ai_nt_tui_ratatui::main(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
47
tui-ratatui/CHANGELOG.md
Normal file
47
tui-ratatui/CHANGELOG.md
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.0.3](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-tui-ratatui-v0.0.2...ac-qu-ai-nt-tui-ratatui-v0.0.3) - 2024-10-06
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- specify the correct download URLs for Binstall to work correctly
|
||||||
|
|
||||||
|
## [0.0.2](https://github.com/babichjacob/ac-qu-ai-nt/compare/ac-qu-ai-nt-tui-ratatui-v0.0.1...ac-qu-ai-nt-tui-ratatui-v0.0.2) - 2024-10-06
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- release
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-tui-ratatui-v0.0.1) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- add package `description`s so that they can actually be published
|
||||||
|
- release
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-tui-ratatui-v0.0.1) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
||||||
|
|
||||||
|
### Other
|
||||||
|
|
||||||
|
- release
|
||||||
|
|
||||||
|
## [0.0.1](https://github.com/babichjacob/ac-qu-ai-nt/releases/tag/ac-qu-ai-nt-tui-ratatui-v0.0.1) - 2024-10-06
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- initialize `core`, `gui-eframe`, and `tui-ratatui` crates and use them in the `multibinary`
|
20
tui-ratatui/Cargo.toml
Normal file
20
tui-ratatui/Cargo.toml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
[package]
|
||||||
|
name = "ac-qu-ai-nt-tui-ratatui"
|
||||||
|
description = "A TUI (written with Ratatui) for ac-qu-ai-nt"
|
||||||
|
version = "0.0.3"
|
||||||
|
edition = "2021"
|
||||||
|
rust-version = "1.76"
|
||||||
|
|
||||||
|
authors = { workspace = true }
|
||||||
|
license = { workspace = true }
|
||||||
|
repository = { workspace = true }
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["tracing"]
|
||||||
|
tracing = ["dep:tracing"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
tracing = { workspace = true, optional = true }
|
||||||
|
|
||||||
|
[package.metadata.binstall]
|
||||||
|
pkg-url = "{ repo }/releases/download/{ name }-v{ version }/{ name }-{ target }{ archive-suffix }"
|
4
tui-ratatui/src/lib.rs
Normal file
4
tui-ratatui/src/lib.rs
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
pub fn main() {
|
||||||
|
#[cfg(feature = "tracing")]
|
||||||
|
tracing::info!("This is from the TUI based on Ratatui.");
|
||||||
|
}
|
1
tui-ratatui/src/main.rs
Normal file
1
tui-ratatui/src/main.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
use ac_qu_ai_nt_tui_ratatui::main;
|
Reference in New Issue
Block a user