Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into subfield-code
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagner84 committed Sep 2, 2024
2 parents ce4decd + 28627c7 commit b8eea77
Show file tree
Hide file tree
Showing 28 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
matrix:
target:
- { os: ubuntu-latest, toolchain: stable, triple: x86_64-unknown-linux-gnu }
- { os: ubuntu-latest, toolchain: 1.76, triple: x86_64-unknown-linux-gnu }
- { os: ubuntu-latest, toolchain: 1.80.0, triple: x86_64-unknown-linux-gnu }
- { os: ubuntu-latest, toolchain: beta, triple: x86_64-unknown-linux-gnu }
- { os: ubuntu-latest, toolchain: nightly, triple: x86_64-unknown-linux-gnu }
- { os: macos-latest, toolchain: stable, triple: x86_64-apple-darwin }
- { os: macos-latest, toolchain: 1.76, triple: x86_64-apple-darwin }
- { os: macos-latest, toolchain: 1.80.0, triple: x86_64-apple-darwin }
- { os: windows-latest, toolchain: stable, triple: x86_64-pc-windows-gnu }
- { os: windows-latest, toolchain: 1.76, triple: x86_64-pc-windows-gnu }
- { os: windows-latest, toolchain: 1.80.0, triple: x86_64-pc-windows-gnu }
- { os: windows-latest, toolchain: stable, triple: i686-pc-windows-msvc }
- { os: windows-latest, toolchain: 1.76, triple: i686-pc-windows-msvc }
- { os: windows-latest, toolchain: 1.80.0, triple: i686-pc-windows-msvc }
runs-on: ${{ matrix.target.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
- { name: pica-format, fuzz-dir: crates/pica-format/fuzz, target: fuzz-format, max-total-time: 300 }
- { name: pica-path, fuzz-dir: crates/pica-path/fuzz, target: fuzz-path, max-total-time: 300 }
- { name: pica-record-matcher, fuzz-dir: crates/pica-matcher/fuzz, target: fuzz-record-matcher, max-total-time: 300 }
- { name: pica-record-ref, fuzz-dir: crates/pica-record/fuzz, target: fuzz-record-ref, max-total-time: 300 }
- { name: pica-record-ref, fuzz-dir: pica-record/fuzz, target: fuzz-record-ref, max-total-time: 300 }
- { name: pica-select-query, fuzz-dir: crates/pica-select/fuzz, target: fuzz-query, max-total-time: 300 }
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ members = [
"crates/pica-lint",
"crates/pica-matcher",
"crates/pica-path",
"crates/pica-record",
"pica-record",
"crates/pica-select",
"crates/pica-toolkit",
"crates/pica-utils"
Expand All @@ -20,13 +20,13 @@ license = "EUPL-1.2"
readme = "./README.md"
keywords = ["PICA+", "code4lib"]
edition = "2021"
rust-version = "1.76"
rust-version = "1.80"

[workspace.dependencies]
pica-format = { version = "0.1", path = "./crates/pica-format" }
pica-matcher = { version = "0.25", path = "./crates/pica-matcher" }
pica-path = { version = "0.25", path = "./crates/pica-path" }
pica-record = { version = "0.25", path = "./crates/pica-record" }
pica-record = { version = "0.25", path = "./pica-record" }
pica-select = { version = "0.25", path = "./crates/pica-select" }
pica-utils = { version = "0.25", path = "./crates/pica-utils" }

Expand Down
4 changes: 2 additions & 2 deletions crates/pica-toolkit/src/commands/explode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fn process_main<'a>(

fn process_local<'a>(
record: &'a ByteRecord<'a>,
) -> Vec<Vec<&FieldRef<'a>>> {
) -> Vec<Vec<&'a FieldRef<'a>>> {
let mut iter = record.iter().peekable();
let mut records = vec![];
let mut main = vec![];
Expand Down Expand Up @@ -160,7 +160,7 @@ fn process_local<'a>(

fn process_copy<'a>(
record: &'a ByteRecord<'a>,
) -> Vec<Vec<&FieldRef<'a>>> {
) -> Vec<Vec<&'a FieldRef<'a>>> {
let mut iter = record.iter().peekable();
let mut records = vec![];
let mut main = vec![];
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn reader_builder_from_reader() {
#[test]
fn reader_builder_from_path() {
let path = PathBuf::from(env!("CARGO_MANIFEST_DIR"))
.join("../../tests/data/DUMP.dat.gz");
.join("../tests/data/DUMP.dat.gz");

let mut reader = ReaderBuilder::new().from_path(path).unwrap();
let mut count = 0;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b8eea77

Please sign in to comment.