Document not found (404)
+This URL is invalid, sorry. Please use the navigation bar or search to continue.
+ +diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 8e4c2f547..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,18 +0,0 @@ -version: 2 -updates: -# Generates far too much PR noise -# - package-ecosystem: cargo -# directory: "/" -# schedule: -# interval: monthly -# time: "13:00" -# open-pull-requests-limit: 10 -# commit-message: -# prefix: "chore: " -# allow: -# - dependency-type: "direct" -- package-ecosystem: github-actions - directory: "/" - schedule: - interval: monthly - time: "13:00" diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml deleted file mode 100644 index 40df468b5..000000000 --- a/.github/workflows/gh-pages.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: github pages - -on: - push: - branches: - - main - release: - types: [created] - pull_request: - -jobs: - mdbook: - runs-on: ubuntu-24.04 - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - steps: - - uses: actions/checkout@v4.2.2 - - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.1 - with: - access_token: ${{ secrets.GITHUB_TOKEN }} - - - name: Setup mdBook - uses: peaceiris/actions-mdbook@v2.0.0 - with: - mdbook-version: 'latest' - - - run: mdbook build book - - - name: Deploy - uses: peaceiris/actions-gh-pages@v4.0.0 - if: github.event_name == 'release' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./book/book diff --git a/.github/workflows/miri.yml b/.github/workflows/miri.yml deleted file mode 100644 index 0b7548621..000000000 --- a/.github/workflows/miri.yml +++ /dev/null @@ -1,27 +0,0 @@ -on: - pull_request: - -name: Miri - -# NOTE: due to extensive FFI use, all tests -# run with miri must have miri in the test name. -# Such tests must make NO calls into tskit-c! -# (They must make no calls into any FFI for that matter...) -# The "test miri" args below only run the desired tests. - -jobs: - test_miri: - name: Test (Miri) - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v4.2.2 - - uses: actions-rs/toolchain@v1.0.6 - with: - profile: minimal - toolchain: nightly - override: true - components: miri - - uses: actions-rs/cargo@v1.0.1 - with: - command: miri - args: test miri diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml deleted file mode 100644 index ab62055d2..000000000 --- a/.github/workflows/python.yml +++ /dev/null @@ -1,51 +0,0 @@ -on: - push: - branches: [main, dev] - pull_request: - -name: Python data round trips - -jobs: - test-metadata: - name: Test Python metadata round trips - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-24.04] - rust: - - stable - python: [ "3.13" ] - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.1 - with: - access_token: ${{ secrets.GITHUB_TOKEN }} - - - uses: actions/checkout@v4.2.2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - submodules: recursive - - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - - uses: Swatinem/rust-cache@v2.7.5 - - name: Install the latest version of uv - uses: astral-sh/setup-uv@v6 - with: - activate-environment: true - version: "latest" - python-version: ${{ matrix.python }} - - name: run JSON metadata example - run: | - cargo run --example json_metadata --features derive - - name: run bincode metadata example - run: | - cargo run --example bincode_metadata --features derive - - name: setup Python and run tests - run: | - uv venv -p ${{ matrix.python }} - source .venv/bin/activate - uv pip install -r python/requirements_locked_3_13.txt - uv pip install python/tskit_glue - python -m pytest python - diff --git a/.github/workflows/security.yaml b/.github/workflows/security.yaml deleted file mode 100644 index 969e6fc7b..000000000 --- a/.github/workflows/security.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Security audit - -on: - schedule: - - cron: '0 0 * * *' - -jobs: - audit: - runs-on: ubuntu-24.04 - steps: - - name: Checkout the Repository - uses: actions/checkout@v4.2.2 - - - name: Perform the security audit - uses: actions-rs/audit-check@v1.2.0 - with: - token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml deleted file mode 100644 index b1588c7c0..000000000 --- a/.github/workflows/semver.yml +++ /dev/null @@ -1,31 +0,0 @@ -on: - push: - branches: [main] - pull_request: - -name: semver-checks - -jobs: - semver: - name: Run cargo-semver-checks - runs-on: ubuntu-24.04 - strategy: - matrix: - rust: - - stable - steps: - - uses: actions/checkout@v4.2.2 - - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - components: clippy - - name: Install cargo-semver-checks - uses: baptiste0928/cargo-install@v3.3.2 - with: - crate: cargo-semver-checks - version: '0.43.0' - - name: run check-release - # We set the cargo version here to dodge ecosystem - # issues that can arise b/c semver-checks doesnt' - # respect our Cargo.lock - run: cargo +1.90.0 semver-checks check-release diff --git a/.github/workflows/test32bit.yml b/.github/workflows/test32bit.yml deleted file mode 100644 index 63634f1fc..000000000 --- a/.github/workflows/test32bit.yml +++ /dev/null @@ -1,52 +0,0 @@ -on: - push: - branches: [main, dev] - pull_request: - -name: 32 bit CI - -jobs: - test-32bit: - name: Run tests (32 bit) - runs-on: ${{ matrix.os }} - #container: - # image: ubuntu:20.10 - strategy: - matrix: - os: [ubuntu-24.04] - rust: - - stable - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.1 - with: - access_token: ${{ secrets.GITHUB_TOKEN }} - - uses: actions/checkout@v4.2.2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - submodules: recursive - - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - - uses: Swatinem/rust-cache@v2.7.5 - - uses: taiki-e/install-action@cargo-hack - - name: Install Linux tooling for 32 bit builds - run: | - sudo apt-get update -y - sudo apt-get -f install gcc-multilib - - name: Install rust tooling for 32 bit builds - run: | - rustup target install i686-unknown-linux-gnu - - name: Install rust toolchain - run: | - rustup toolchain install - - name: cargo check - run: | - cargo hack check --all-targets --target=i686-unknown-linux-gnu --feature-powerset - - name: cargo tests - run: | - cargo hack test --target=i686-unknown-linux-gnu --feature-powerset - - name: cargo doc tests - run: | - cargo hack test --doc --target=i686-unknown-linux-gnu --feature-powerset diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index c74ff46fe..000000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -1,113 +0,0 @@ -on: - push: - branches: [main, dev] - pull_request: - -name: 64 bit CI - -jobs: - test-64bit: - name: Run tests (64 bit) - runs-on: ${{ matrix.os }} - #container: - # image: ubuntu:20.10 - strategy: - matrix: - os: [ubuntu-24.04, macos-latest] - rust: - - stable - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.1 - with: - access_token: ${{ secrets.GITHUB_TOKEN }} - - - uses: actions/checkout@v4.2.2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - submodules: recursive - - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - - uses: Swatinem/rust-cache@v2.7.5 - - uses: taiki-e/install-action@cargo-hack - - run: sudo apt-get update -y - if: matrix.os == 'ubuntu-24.04' - - name: update toolchain - run: rustup toolchain install - - name: cargo check (powerset) - run: cargo hack check --feature-powerset --no-dev-deps - - name: cargo check examples (powerset) - run: cargo hack check --examples --feature-powerset - - name: run tests (powerset) - run: | - cargo hack test --all-targets --feature-powerset - - name: run doc tests (powerset) - run: | - cargo hack test --doc --feature-powerset - - fmt: - name: rust fmt - runs-on: ubuntu-24.04 - steps: - - uses: actions/checkout@v4.2.2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - submodules: recursive - - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: stable - components: rustfmt - - run: | - /bin/bash -c "find src -type f | grep -v auto_bindings | grep -v lib | xargs rustfmt --check" - - clippy: - name: clippy!! - runs-on: ubuntu-24.04 - strategy: - matrix: - rust: - - stable - steps: - - uses: actions/checkout@v4.2.2 - - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - components: clippy - - uses: Swatinem/rust-cache@v2.7.5 - - uses: taiki-e/install-action@cargo-hack - - name: update toolchain - run: rustup toolchain install - - name: clippy (all targets, feature powerset) - run: cargo hack clippy --all-targets --feature-powerset -- -D warnings - - msrv: - name: Verify MSRV - runs-on: ubuntu-24.04 - strategy: - matrix: - rust: - - 1.75.0 - steps: - - uses: actions/checkout@v4.2.2 - - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - - uses: taiki-e/install-action@cargo-hack - - name: cargo check msrv - run: cargo hack check --feature-powerset - - doc: - name: Build docs - runs-on: ubuntu-24.04 - strategy: - matrix: - rust: - - stable - steps: - - uses: actions/checkout@v4.2.2 - - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - - name: cargo doc - run: cargo doc --all-features diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml deleted file mode 100644 index f5e46df17..000000000 --- a/.github/workflows/valgrind.yml +++ /dev/null @@ -1,42 +0,0 @@ -on: - push: - branches: [main, dev] - pull_request: - -name: valgrind - -jobs: - cargo-valgrind: - name: Run valgrind - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-24.04] - rust: - - 1.82.0 - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.12.1 - with: - access_token: ${{ secrets.GITHUB_TOKEN }} - - - uses: actions/checkout@v4.2.2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - submodules: recursive - - uses: dtolnay/rust-toolchain@v1 - with: - toolchain: ${{ matrix.rust }} - override: true - - uses: Swatinem/rust-cache@v2.7.5 - - run: sudo apt-get update -y - if: matrix.os == 'ubuntu-24.04' - - run: sudo apt-get install -y valgrind - if: matrix.os == 'ubuntu-24.04' - - run: cargo install cargo-valgrind - - name: run cargo valgrind --locked - run: | - cargo valgrind test --all-targets --all-features - - name: run cargo valgrind on doc tests - run: | - cargo valgrind test --doc --all-features diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 3d42bc6b0..000000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/target -auto_bindings.rs diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 000000000..f17311098 --- /dev/null +++ b/.nojekyll @@ -0,0 +1 @@ +This file makes sure that Github Pages doesn't process mdBook's output. diff --git a/404.html b/404.html new file mode 100644 index 000000000..478dc801c --- /dev/null +++ b/404.html @@ -0,0 +1,218 @@ + + +
+ + +This URL is invalid, sorry. Please use the navigation bar or search to continue.
+ +