Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use current stable Rust to build non-release version #218

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,18 @@ jobs:
build_dynamic_glibc:
runs-on: ubuntu-latest
container: debian:bookworm-slim
container: debian:trixie-slim
steps:
- name: Prepare
run: |
apt-get -qq update
apt-get -qqy upgrade
apt-get -qqy install ca-certificates rustc cargo clang libacl1-dev jq file
apt-get -qqy install ca-certificates clang libacl1-dev jq file curl
- name: Install Rust toolchain (stable)
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v2
- name: Build
run: |
Expand Down
4 changes: 1 addition & 3 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,13 @@ pub struct Filter {
pub filter_action: FilterAction,
}

#[derive(Debug, Serialize)]
#[derive(Default)]
#[derive(Debug, Serialize, Default)]
pub enum Input {
#[default]
Stdin,
Unix(PathBuf),
}


impl std::fmt::Display for Input {
fn fmt(&self, fmt: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> {
match self {
Expand Down
Loading