object-storage-client 0.1.18__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/.cargo/config.toml +0 -3
- object_storage_client-0.2.0/.gitattributes +1 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/.github/workflows/ci.yaml +7 -1
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/.github/workflows/dependabot-automerge.yml +18 -8
- object_storage_client-0.2.0/.github/workflows/perf.yaml +50 -0
- object_storage_client-0.2.0/.github/workflows/tests.yaml +99 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/.gitignore +5 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/Cargo.lock +1101 -161
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/Cargo.toml +33 -16
- object_storage_client-0.2.0/PKG-INFO +319 -0
- object_storage_client-0.2.0/README.md +299 -0
- object_storage_client-0.2.0/benches/alloc-counter/Cargo.toml +13 -0
- object_storage_client-0.2.0/benches/alloc-counter/src/lib.rs +82 -0
- object_storage_client-0.2.0/benches/common/mod.rs +78 -0
- object_storage_client-0.2.0/benches/throughput.rs +260 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/compose.yml +32 -16
- object_storage_client-0.2.0/docs/BEHAVIOR.md +125 -0
- object_storage_client-0.2.0/docs/CONFIGURATION.md +77 -0
- object_storage_client-0.2.0/docs/DEVELOPMENT.md +71 -0
- object_storage_client-0.2.0/docs/ENCRYPTION.md +291 -0
- object_storage_client-0.2.0/docs/TESTING.md +116 -0
- object_storage_client-0.2.0/docs/UPGRADING.md +68 -0
- object_storage_client-0.2.0/docs/superpowers/plans/2026-10-26-client-side-encryption.md +661 -0
- object_storage_client-0.2.0/docs/superpowers/plans/2026-10-27-performance.md +176 -0
- object_storage_client-0.2.0/docs/superpowers/plans/2026-10-27-refactoring.md +166 -0
- object_storage_client-0.2.0/docs/superpowers/specs/2026-10-26-client-side-encryption-design.md +585 -0
- object_storage_client-0.2.0/docs/superpowers/specs/2026-10-27-key-rotation-design.md +426 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/pyproject.toml +18 -3
- object_storage_client-0.2.0/python/object_storage_client/__init__.py +52 -0
- object_storage_client-0.2.0/python/object_storage_client/__init__.pyi +210 -0
- object_storage_client-0.2.0/python/object_storage_client/_stream.py +137 -0
- object_storage_client-0.2.0/scripts/esdk_oracle.py +340 -0
- object_storage_client-0.2.0/scripts/perf_smoke.py +196 -0
- object_storage_client-0.2.0/src/backend/azure.rs +190 -0
- object_storage_client-0.2.0/src/backend/body.rs +207 -0
- object_storage_client-0.2.0/src/backend/gcs.rs +210 -0
- object_storage_client-0.2.0/src/backend/http.rs +121 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/src/backend/local.rs +23 -7
- object_storage_client-0.2.0/src/backend/mod.rs +328 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/src/backend/s3.rs +194 -175
- object_storage_client-0.2.0/src/cli/enc.rs +299 -0
- object_storage_client-0.2.0/src/cli/keyring.rs +291 -0
- object_storage_client-0.2.0/src/cli/tests.rs +385 -0
- object_storage_client-0.2.0/src/cli.rs +1338 -0
- object_storage_client-0.2.0/src/client/local_delete.rs +238 -0
- object_storage_client-0.2.0/src/client.rs +960 -0
- object_storage_client-0.2.0/src/codec.rs +527 -0
- object_storage_client-0.2.0/src/encryption/context.rs +336 -0
- object_storage_client-0.2.0/src/encryption/envelope.rs +2308 -0
- object_storage_client-0.2.0/src/encryption/fixtures.rs +123 -0
- object_storage_client-0.2.0/src/encryption/frame.rs +1567 -0
- object_storage_client-0.2.0/src/encryption/fuzzing.rs +163 -0
- object_storage_client-0.2.0/src/encryption/header.rs +752 -0
- object_storage_client-0.2.0/src/encryption/keys/keyring/tests.rs +814 -0
- object_storage_client-0.2.0/src/encryption/keys/keyring.rs +738 -0
- object_storage_client-0.2.0/src/encryption/keys/mod.rs +380 -0
- object_storage_client-0.2.0/src/encryption/keys/raw_aes.rs +362 -0
- object_storage_client-0.2.0/src/encryption/mod.rs +26 -0
- object_storage_client-0.2.0/src/encryption/suite.rs +311 -0
- object_storage_client-0.2.0/src/encryption/tamper_tests.rs +460 -0
- object_storage_client-0.2.0/src/fsmode.rs +107 -0
- object_storage_client-0.2.0/src/hex.rs +58 -0
- object_storage_client-0.2.0/src/lib.rs +23 -0
- object_storage_client-0.2.0/src/main.rs +132 -0
- object_storage_client-0.2.0/src/python/client.rs +441 -0
- object_storage_client-0.2.0/src/python/encryption.rs +243 -0
- object_storage_client-0.2.0/src/python/mod.rs +127 -0
- object_storage_client-0.2.0/src/python/stream.rs +340 -0
- object_storage_client-0.2.0/src/registry.rs +335 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/src/sign.rs +31 -83
- object_storage_client-0.2.0/src/upload.rs +1229 -0
- object_storage_client-0.2.0/tests/functional/cli.rs +1644 -0
- object_storage_client-0.2.0/tests/functional/client.rs +944 -0
- object_storage_client-0.2.0/tests/functional/encryption.rs +830 -0
- object_storage_client-0.2.0/tests/functional/golden.rs +153 -0
- object_storage_client-0.2.0/tests/functional/suite.rs +374 -0
- object_storage_client-0.2.0/tests/functional.rs +16 -0
- object_storage_client-0.2.0/tests/integration/azure_storage_ops.rs +53 -0
- object_storage_client-0.2.0/tests/integration/common/azurite.rs +74 -0
- object_storage_client-0.2.0/tests/integration/common/gcs.rs +135 -0
- object_storage_client-0.2.0/tests/integration/common/mod.rs +239 -0
- object_storage_client-0.2.0/tests/integration/common/provider.rs +45 -0
- object_storage_client-0.2.0/tests/integration/encryption.rs +568 -0
- object_storage_client-0.2.0/tests/integration/file_roundtrip.rs +142 -0
- object_storage_client-0.2.0/tests/integration/gcs_storage_ops.rs +145 -0
- object_storage_client-0.2.0/tests/integration/reencrypt.rs +222 -0
- object_storage_client-0.2.0/tests/integration/s3_storage_ops.rs +92 -0
- object_storage_client-0.2.0/tests/integration/storage_ops.rs +222 -0
- object_storage_client-0.2.0/tests/integration.rs +20 -0
- object_storage_client-0.2.0/tests/perf_guards.rs +258 -0
- object_storage_client-0.2.0/tests/python/conftest.py +177 -0
- object_storage_client-0.2.0/tests/python/test_encrypted_client.py +433 -0
- object_storage_client-0.2.0/tests/python/test_encryption_runtime.py +304 -0
- object_storage_client-0.2.0/tests/python/test_plain_client.py +797 -0
- object_storage_client-0.2.0/tests/python/test_roundtrip.py +93 -0
- object_storage_client-0.2.0/tests/python/test_shared_client.py +73 -0
- object_storage_client-0.2.0/tests/python/test_stream_leak.py +68 -0
- object_storage_client-0.2.0/tests/python/test_stream_sticky.py +95 -0
- object_storage_client-0.2.0/tests/python/test_subinterpreter.py +45 -0
- object_storage_client-0.2.0/tests/python/test_worker_threads.py +71 -0
- object_storage_client-0.2.0/tests/support/mod.rs +57 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/tests/unit/sign.rs +6 -6
- object_storage_client-0.2.0/tests/vectors/esdk/README.md +42 -0
- object_storage_client-0.2.0/tests/vectors/esdk/ctx_long.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/ctx_min.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/ctx_utf8.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/manifest.json +1414 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p0_f4096.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p0_f65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p1_f4096.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p1_f65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p200000_f4096.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p200000_f65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p4095_f4096.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p4095_f65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p4096_f4096.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p4096_f65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p4097_f4096.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p4097_f65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p65535_f4096.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p65535_f65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p65536_f4096.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p65536_f65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p65537_f4096.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/esdk/p65537_f65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/golden/README.md +13 -0
- object_storage_client-0.2.0/tests/vectors/golden/v1/context.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/golden/v1/keyring +4 -0
- object_storage_client-0.2.0/tests/vectors/golden/v1/manifest.json +50 -0
- object_storage_client-0.2.0/tests/vectors/golden/v1/old_key.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/golden/v1/size_0.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/golden/v1/size_1.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/golden/v1/size_200000.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/golden/v1/size_65536.bin +0 -0
- object_storage_client-0.2.0/tests/vectors/keyrings/README.md +22 -0
- object_storage_client-0.2.0/tests/vectors/keyrings/one.keyring +3 -0
- object_storage_client-0.2.0/tests/vectors/keyrings/other.keyring +3 -0
- object_storage_client-0.2.0/tests/vectors/keyrings/two.keyring +4 -0
- object_storage_client-0.2.0/uv.lock +647 -0
- object_storage_client-0.1.18/PKG-INFO +0 -439
- object_storage_client-0.1.18/README.md +0 -421
- object_storage_client-0.1.18/python/object_storage_client/__init__.py +0 -12
- object_storage_client-0.1.18/python/object_storage_client/__init__.pyi +0 -46
- object_storage_client-0.1.18/src/backend/azure.rs +0 -169
- object_storage_client-0.1.18/src/backend/gcs.rs +0 -148
- object_storage_client-0.1.18/src/backend/http.rs +0 -42
- object_storage_client-0.1.18/src/backend/mod.rs +0 -212
- object_storage_client-0.1.18/src/cli.rs +0 -508
- object_storage_client-0.1.18/src/client.rs +0 -620
- object_storage_client-0.1.18/src/lib.rs +0 -8
- object_storage_client-0.1.18/src/main.rs +0 -23
- object_storage_client-0.1.18/src/python.rs +0 -377
- object_storage_client-0.1.18/tests/functional/client.rs +0 -339
- object_storage_client-0.1.18/tests/functional/local_path_tests.rs +0 -118
- object_storage_client-0.1.18/tests/functional/storage_ops.rs +0 -107
- object_storage_client-0.1.18/tests/functional.rs +0 -6
- object_storage_client-0.1.18/tests/integration/s3_storage_ops.rs +0 -222
- object_storage_client-0.1.18/tests/integration.rs +0 -2
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/.docker/garage.toml +0 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/.github/dependabot.yml +0 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/.python-version +0 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/LICENSE +0 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/python/object_storage_client/py.typed +0 -0
- {object_storage_client-0.1.18 → object_storage_client-0.2.0}/tests/unit.rs +0 -0
|
@@ -6,8 +6,5 @@ rustflags = ["-C", "target-cpu=x86-64-v3"]
|
|
|
6
6
|
[target.x86_64-unknown-linux-gnu]
|
|
7
7
|
rustflags = ["-C", "target-cpu=x86-64-v3"]
|
|
8
8
|
|
|
9
|
-
[target.aarch64-apple-darwin]
|
|
10
|
-
rustflags = ["-C", "target-cpu=apple-m3"]
|
|
11
|
-
|
|
12
9
|
[registries.bixority-codeberg]
|
|
13
10
|
index = "sparse+https://codeberg.org/api/packages/bixority/cargo/"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tests/vectors/**/*.bin binary
|
|
@@ -67,8 +67,14 @@ jobs:
|
|
|
67
67
|
fail-fast: false
|
|
68
68
|
matrix:
|
|
69
69
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
70
|
-
python: ["3.14", "3.15"]
|
|
70
|
+
python: ["3.13", "3.14", "3.15"]
|
|
71
71
|
include:
|
|
72
|
+
- os: linux-aarch64
|
|
73
|
+
python: "3.13"
|
|
74
|
+
arch: aarch64
|
|
75
|
+
target: aarch64-unknown-linux-gnu
|
|
76
|
+
runner: ubuntu-latest
|
|
77
|
+
manylinux: 2_28
|
|
72
78
|
- os: linux-aarch64
|
|
73
79
|
python: "3.14"
|
|
74
80
|
arch: aarch64
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
name: Dependabot update - test and merge
|
|
2
2
|
|
|
3
|
+
# `pull_request` (not `pull_request_target`): the PR's code runs with a
|
|
4
|
+
# read-only token and no repository secrets, and its build cache is scoped to
|
|
5
|
+
# the PR, so it cannot poison the cache used by the release workflow. A fork PR
|
|
6
|
+
# never gets a write token here, so the merge job cannot act on one.
|
|
3
7
|
on:
|
|
4
|
-
|
|
8
|
+
pull_request:
|
|
5
9
|
types: [opened, reopened, synchronize]
|
|
6
10
|
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
7
14
|
concurrency:
|
|
8
15
|
group: dependabot-automerge-${{ github.event.pull_request.number }}
|
|
9
16
|
cancel-in-progress: true
|
|
@@ -11,16 +18,13 @@ concurrency:
|
|
|
11
18
|
jobs:
|
|
12
19
|
test:
|
|
13
20
|
name: Run unit tests (Dependabot PR)
|
|
14
|
-
|
|
21
|
+
# The PR author, not `github.actor` (whoever triggered the latest event).
|
|
22
|
+
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.actor == 'dependabot[bot]'
|
|
15
23
|
runs-on: ubuntu-latest
|
|
16
|
-
permissions:
|
|
17
|
-
contents: read
|
|
18
|
-
|
|
19
24
|
steps:
|
|
20
|
-
- name: Check out PR
|
|
25
|
+
- name: Check out PR
|
|
21
26
|
uses: actions/checkout@v5
|
|
22
27
|
with:
|
|
23
|
-
ref: ${{ github.event.pull_request.head.sha }}
|
|
24
28
|
persist-credentials: false
|
|
25
29
|
|
|
26
30
|
- name: Set up Rust toolchain
|
|
@@ -35,7 +39,11 @@ jobs:
|
|
|
35
39
|
merge:
|
|
36
40
|
name: Approve and merge
|
|
37
41
|
needs: test
|
|
38
|
-
if:
|
|
42
|
+
if: >-
|
|
43
|
+
needs.test.result == 'success'
|
|
44
|
+
&& github.event.pull_request.user.login == 'dependabot[bot]'
|
|
45
|
+
&& github.actor == 'dependabot[bot]'
|
|
46
|
+
&& github.event.pull_request.head.repo.full_name == github.repository
|
|
39
47
|
runs-on: ubuntu-latest
|
|
40
48
|
permissions:
|
|
41
49
|
contents: write
|
|
@@ -60,10 +68,12 @@ jobs:
|
|
|
60
68
|
script: |
|
|
61
69
|
const pr = context.payload.pull_request;
|
|
62
70
|
try {
|
|
71
|
+
// Merge exactly the commit that was tested.
|
|
63
72
|
await github.rest.pulls.merge({
|
|
64
73
|
owner: context.repo.owner,
|
|
65
74
|
repo: context.repo.repo,
|
|
66
75
|
pull_number: pr.number,
|
|
76
|
+
sha: pr.head.sha,
|
|
67
77
|
merge_method: 'merge'
|
|
68
78
|
});
|
|
69
79
|
core.info('PR merged successfully.');
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: Performance
|
|
2
|
+
|
|
3
|
+
# Not part of the PR checks: the deterministic guards in `tests/perf_guards.rs`
|
|
4
|
+
# run with `cargo test` in tests.yaml. This workflow measures the release
|
|
5
|
+
# binary. Peak RSS over budget fails it; throughput only warns, because shared
|
|
6
|
+
# runners are noisy.
|
|
7
|
+
on:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
schedule:
|
|
10
|
+
- cron: "17 3 * * *"
|
|
11
|
+
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
15
|
+
concurrency:
|
|
16
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
17
|
+
cancel-in-progress: true
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
bench:
|
|
21
|
+
name: bench + 512 MiB smoke
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
timeout-minutes: 45
|
|
24
|
+
steps:
|
|
25
|
+
- uses: actions/checkout@v6
|
|
26
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
27
|
+
- uses: Swatinem/rust-cache@v2
|
|
28
|
+
- name: Build release osc
|
|
29
|
+
run: cargo build --release --bin osc
|
|
30
|
+
- name: Bench (256 MiB, median of 3)
|
|
31
|
+
shell: bash
|
|
32
|
+
run: cargo bench --bench throughput --no-default-features --features encryption | tee bench.txt
|
|
33
|
+
env:
|
|
34
|
+
BENCH_DIR: ${{ github.workspace }}/target/bench-data
|
|
35
|
+
- name: Smoke (512 MiB file://, plain and encrypted)
|
|
36
|
+
run: |
|
|
37
|
+
mkdir -p target/perf-smoke
|
|
38
|
+
python3 scripts/perf_smoke.py \
|
|
39
|
+
--osc target/release/osc \
|
|
40
|
+
--runs 5 \
|
|
41
|
+
--dir target/perf-smoke \
|
|
42
|
+
--out perf-smoke.json
|
|
43
|
+
- uses: actions/upload-artifact@v6
|
|
44
|
+
if: always()
|
|
45
|
+
with:
|
|
46
|
+
name: perf-${{ github.sha }}
|
|
47
|
+
path: |
|
|
48
|
+
bench.txt
|
|
49
|
+
perf-smoke.json
|
|
50
|
+
if-no-files-found: warn
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
name: Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
concurrency:
|
|
12
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
13
|
+
cancel-in-progress: true
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
cargo-test:
|
|
17
|
+
name: cargo test
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v6
|
|
21
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
22
|
+
- uses: Swatinem/rust-cache@v2
|
|
23
|
+
- run: cargo test --all-features
|
|
24
|
+
|
|
25
|
+
integration:
|
|
26
|
+
name: integration (Garage, Azurite, fake-gcs-server)
|
|
27
|
+
runs-on: ubuntu-latest
|
|
28
|
+
timeout-minutes: 30
|
|
29
|
+
steps:
|
|
30
|
+
- uses: actions/checkout@v6
|
|
31
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
32
|
+
- uses: Swatinem/rust-cache@v2
|
|
33
|
+
# The 4 GiB round trips are local only (see docs/TESTING.md, "Checksum round trips").
|
|
34
|
+
- run: cargo test --all-features --test integration -- --ignored --skip _4gib
|
|
35
|
+
|
|
36
|
+
lint:
|
|
37
|
+
name: fmt + clippy
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v6
|
|
41
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
42
|
+
with:
|
|
43
|
+
components: rustfmt, clippy
|
|
44
|
+
- uses: Swatinem/rust-cache@v2
|
|
45
|
+
- run: cargo fmt --all -- --check
|
|
46
|
+
- run: cargo clippy --all-targets --all-features -- -D warnings -W clippy::pedantic
|
|
47
|
+
- run: cargo doc --no-deps --all-features
|
|
48
|
+
env:
|
|
49
|
+
RUSTDOCFLAGS: "-D warnings"
|
|
50
|
+
|
|
51
|
+
features:
|
|
52
|
+
name: feature builds + fuzz crate
|
|
53
|
+
runs-on: ubuntu-latest
|
|
54
|
+
steps:
|
|
55
|
+
- uses: actions/checkout@v6
|
|
56
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
57
|
+
with:
|
|
58
|
+
components: clippy
|
|
59
|
+
- uses: Swatinem/rust-cache@v2
|
|
60
|
+
- run: cargo clippy --all-targets --no-default-features -- -D warnings -W clippy::pedantic
|
|
61
|
+
- run: cargo check --no-default-features --features python
|
|
62
|
+
- run: cargo check --features fuzzing
|
|
63
|
+
# Keeps `encryption::fuzzing` and the fuzz targets compiling.
|
|
64
|
+
- run: cargo check --manifest-path fuzz/Cargo.toml
|
|
65
|
+
|
|
66
|
+
python:
|
|
67
|
+
name: python tests (${{ matrix.python }})
|
|
68
|
+
runs-on: ubuntu-latest
|
|
69
|
+
strategy:
|
|
70
|
+
fail-fast: false
|
|
71
|
+
matrix:
|
|
72
|
+
python: ["3.13", "3.14", "3.15"]
|
|
73
|
+
steps:
|
|
74
|
+
- uses: actions/checkout@v6
|
|
75
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
76
|
+
- uses: Swatinem/rust-cache@v2
|
|
77
|
+
- uses: astral-sh/setup-uv@v6
|
|
78
|
+
with:
|
|
79
|
+
python-version: ${{ matrix.python }}
|
|
80
|
+
- run: uv sync --group dev --group oracle --locked --no-install-project
|
|
81
|
+
- run: uv run --no-sync maturin develop
|
|
82
|
+
- run: uv run --no-sync pytest
|
|
83
|
+
# Container tests (Garage, Azurite) without the local-only 4 GiB tier.
|
|
84
|
+
- run: uv run --no-sync pytest -m "integration and not large"
|
|
85
|
+
|
|
86
|
+
esdk-interop:
|
|
87
|
+
name: ESDK interop
|
|
88
|
+
runs-on: ubuntu-latest
|
|
89
|
+
steps:
|
|
90
|
+
- uses: actions/checkout@v6
|
|
91
|
+
- uses: dtolnay/rust-toolchain@stable
|
|
92
|
+
- uses: Swatinem/rust-cache@v2
|
|
93
|
+
- uses: astral-sh/setup-uv@v6
|
|
94
|
+
with:
|
|
95
|
+
python-version: "3.14"
|
|
96
|
+
- run: uv sync --group oracle --locked --no-install-project
|
|
97
|
+
- run: cargo test --all-features -- --ignored oracle
|
|
98
|
+
env:
|
|
99
|
+
UV_NO_SYNC: "1"
|