diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml index 1e95e1f..017d21c 100644 --- a/.gitea/workflows/cargo.yaml +++ b/.gitea/workflows/cargo.yaml @@ -3,7 +3,7 @@ on: push: branches: - '**' - - '!master' + # - '!master' jobs: format: diff --git a/Cargo.toml b/Cargo.toml index 75aadad..fc00055 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,13 +49,13 @@ keywords.workspace = true categories.workspace = true [features] -default = ["log", "core"] +default = ["log", "core", "bin"] core = [] math = [] log = [] bintols = [] net = [] -bin = ["dep:clap", "dep:clap-num", "dep:clap-verbosity-flag"] +bin = ["dep:clap", "dep:clap-num", "dep:clap-verbosity-flag", "math", "bintols"] [lib] name = "libpt" diff --git a/scripts/publish.sh b/scripts/publish.sh new file mode 100755 index 0000000..9714d43 --- /dev/null +++ b/scripts/publish.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cargo ws publish --registry cscherr +cargo ws publish --registry cscherr --no-git-commit --publish-as-is +cargo publish --registry cscherr -p libpt diff --git a/src/hedu/mod.rs b/src/hedu/mod.rs index fca39ee..4e72881 100644 --- a/src/hedu/mod.rs +++ b/src/hedu/mod.rs @@ -88,11 +88,6 @@ pub struct Cli { /// If left empty or set as "-", the program will read from stdin. pub data_source: Option, } -impl Cli { - fn parse() -> Cli { - todo!() - } -} //// IMPLEMENTATION ////////////////////////////////////////////////////////////////////////////////