v0.1.3: More CI testing and some small fixes
This commit is contained in:
parent
6e75f1b022
commit
2b90b1f893
4 changed files with 9 additions and 5 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -4,7 +4,7 @@ version = 3
|
|||
|
||||
[[package]]
|
||||
name = "ELApse"
|
||||
version = "0.1.0"
|
||||
version = "0.1.3"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"image",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ELApse"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
edition = "2021"
|
||||
repository = "https://github.com/BlackDragon-B/ELApse"
|
||||
authors = ["BlackDragon-B <kyan@blackdrgn.nl>"]
|
||||
|
@ -30,7 +30,7 @@ ci = "github"
|
|||
# The installers to generate for each app
|
||||
installers = []
|
||||
# Target platforms to build apps for (Rust target-triple syntax)
|
||||
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "aarch64-unknown-linux-musl", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
|
||||
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
|
||||
|
||||
#[workspace.metadata.dist.github-custom-runners]
|
||||
#aarch64-unknown-linux-gnu = "buildjet-4vcpu-ubuntu-2204-arm"
|
||||
|
|
2
rust-toolchain.toml
Normal file
2
rust-toolchain.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
[toolchain]
|
||||
channel = "nightly"
|
|
@ -11,16 +11,19 @@ use clap::{command, error::{self, ContextKind, ContextValue, ErrorKind}, Parser}
|
|||
#[derive(Parser, Debug)]
|
||||
#[command(version, about, long_about = None)]
|
||||
struct Args {
|
||||
/// Name of the person to greet
|
||||
/// Input driver to use
|
||||
#[arg(short, long)]
|
||||
input: input::Input,
|
||||
|
||||
/// File input for the file driver
|
||||
#[arg(required(false), short, long, requires = "input")]
|
||||
file: Option<String>,
|
||||
|
||||
/// Output driver to use
|
||||
#[arg(short, long)]
|
||||
output: output::Output,
|
||||
|
||||
/// Destination IP for the realtimeudp driver
|
||||
#[arg(required(false), short, long, requires = "output")]
|
||||
destip: Option<String>,
|
||||
}
|
||||
|
@ -30,7 +33,6 @@ fn main() {
|
|||
// let mut arg = clap::command!()
|
||||
// .arg(clap::arg!(-o --output <file> "The output file to write to. Use - for stdout."))
|
||||
// .arg_required_else_help(true);
|
||||
let x = true;
|
||||
let (tx, rx): (Sender<Vec<[f32; 4]>>, Receiver<Vec<[f32; 4]>>) = mpsc::channel();
|
||||
// if x {
|
||||
// input::stdin(tx);
|
||||
|
|
Loading…
Reference in a new issue