object-storage-client 0.4.3__tar.gz → 0.4.7__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.
Files changed (217) hide show
  1. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/.github/workflows/ci.yaml +231 -16
  2. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/Cargo.lock +5 -5
  3. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/Cargo.toml +1 -1
  4. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/PKG-INFO +25 -9
  5. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/README.md +24 -8
  6. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/deny.toml +6 -1
  7. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/docs/BEHAVIOR.md +34 -17
  8. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/docs/CONFIGURATION.md +74 -25
  9. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/docs/DEVELOPMENT.md +46 -24
  10. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/docs/ENCRYPTION.md +56 -34
  11. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/docs/GUI.md +61 -34
  12. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/docs/TESTING.md +22 -11
  13. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/docs/UPGRADING.md +77 -9
  14. object_storage_client-0.4.7/docs/images/osc-gui.png +0 -0
  15. object_storage_client-0.4.7/packaging/aur/PKGBUILD.template +29 -0
  16. object_storage_client-0.4.7/packaging/icon/osc-gui.png +0 -0
  17. object_storage_client-0.4.7/packaging/linux/osc-gui.desktop +9 -0
  18. object_storage_client-0.4.7/packaging/macos/Info.plist.template +28 -0
  19. object_storage_client-0.4.7/packaging/macos/README.txt +43 -0
  20. object_storage_client-0.4.7/packaging/nfpm.yaml +60 -0
  21. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/python/object_storage_client/__init__.pyi +3 -2
  22. object_storage_client-0.4.7/scripts/release/check-glibc.sh +30 -0
  23. object_storage_client-0.4.7/scripts/release/linux-packages.sh +35 -0
  24. object_storage_client-0.4.7/scripts/release/linux-tarball.sh +37 -0
  25. object_storage_client-0.4.7/scripts/release/macos-dmg.sh +89 -0
  26. object_storage_client-0.4.7/scripts/release/render-aur.sh +38 -0
  27. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/azure.rs +271 -1
  28. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/http.rs +15 -2
  29. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/mod.rs +190 -8
  30. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/s3.rs +442 -23
  31. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/client.rs +328 -31
  32. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/connection/aws.rs +184 -0
  33. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/connection/mod.rs +58 -1
  34. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action/close.rs +0 -1
  35. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action/conn.rs +12 -2
  36. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action/job.rs +5 -25
  37. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action/tests/conn.rs +37 -2
  38. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action/tests/jobs.rs +2 -8
  39. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action/tests.rs +3 -0
  40. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/keys.rs +5 -0
  41. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/location.rs +0 -20
  42. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/model.rs +68 -6
  43. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/ops/tests.rs +74 -0
  44. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/ops.rs +14 -1
  45. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/view/dialogs.rs +0 -34
  46. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/view/panel.rs +36 -9
  47. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/view/tests.rs +70 -8
  48. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/worker/tests.rs +3 -0
  49. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/python/mod.rs +1 -1
  50. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/registry.rs +56 -0
  51. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/gui_ops.rs +53 -0
  52. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_plain_client.py +37 -0
  53. object_storage_client-0.4.3/docs/images/osc-gui.png +0 -0
  54. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/.cargo/config.toml +0 -0
  55. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/.docker/garage.toml +0 -0
  56. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/.gitattributes +0 -0
  57. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/.github/dependabot.yml +0 -0
  58. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/.github/workflows/perf.yaml +0 -0
  59. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/.github/workflows/tests.yaml +0 -0
  60. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/.gitignore +0 -0
  61. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/.python-version +0 -0
  62. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/LICENSE +0 -0
  63. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/benches/alloc-counter/Cargo.toml +0 -0
  64. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/benches/alloc-counter/src/lib.rs +0 -0
  65. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/benches/common/mod.rs +0 -0
  66. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/benches/throughput.rs +0 -0
  67. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/compose.yml +0 -0
  68. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/proptest-regressions/encryption/context.txt +0 -0
  69. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/pyproject.toml +0 -0
  70. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/python/object_storage_client/__init__.py +0 -0
  71. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/python/object_storage_client/_stream.py +0 -0
  72. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/python/object_storage_client/_types.py +0 -0
  73. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/python/object_storage_client/py.typed +0 -0
  74. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/scripts/esdk_oracle.py +0 -0
  75. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/scripts/hostile-env.sh +0 -0
  76. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/scripts/perf_smoke.py +0 -0
  77. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/aws_profile.rs +0 -0
  78. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/body.rs +0 -0
  79. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/connector.rs +0 -0
  80. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/gcs.rs +0 -0
  81. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/local.rs +0 -0
  82. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/backend/stub.rs +0 -0
  83. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/bin/osc-gui.rs +0 -0
  84. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/args.rs +0 -0
  85. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/enc/tests.rs +0 -0
  86. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/enc.rs +0 -0
  87. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/harden.rs +0 -0
  88. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/keyring.rs +0 -0
  89. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/output.rs +0 -0
  90. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/tests.rs +0 -0
  91. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/transfer/tests.rs +0 -0
  92. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/transfer.rs +0 -0
  93. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/tree/tests.rs +0 -0
  94. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli/tree.rs +0 -0
  95. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/cli.rs +0 -0
  96. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/client/local_delete.rs +0 -0
  97. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/codec.rs +0 -0
  98. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/connection/azure.rs +0 -0
  99. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/connection/gcp.rs +0 -0
  100. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/connection/sso.rs +0 -0
  101. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/context.rs +0 -0
  102. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/envelope/tests.rs +0 -0
  103. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/envelope.rs +0 -0
  104. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/fixtures.rs +0 -0
  105. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/frame.rs +0 -0
  106. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/fuzzing.rs +0 -0
  107. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/header.rs +0 -0
  108. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/keys/keyring/tests.rs +0 -0
  109. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/keys/keyring.rs +0 -0
  110. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/keys/mod.rs +0 -0
  111. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/keys/raw_aes.rs +0 -0
  112. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/mod.rs +0 -0
  113. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/suite.rs +0 -0
  114. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/encryption/tamper_tests.rs +0 -0
  115. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/forward.rs +0 -0
  116. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/fsmode.rs +0 -0
  117. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action/nav.rs +0 -0
  118. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action/tests/close.rs +0 -0
  119. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action/tests/nav.rs +0 -0
  120. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/action.rs +0 -0
  121. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/app.rs +0 -0
  122. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/args.rs +0 -0
  123. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/display.rs +0 -0
  124. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/startup.rs +0 -0
  125. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/view/address_bar.rs +0 -0
  126. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/view/startup_error.rs +0 -0
  127. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/view/status.rs +0 -0
  128. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/view/toolbar.rs +0 -0
  129. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/view.rs +0 -0
  130. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui/worker.rs +0 -0
  131. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/gui.rs +0 -0
  132. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/hex.rs +0 -0
  133. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/lib.rs +0 -0
  134. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/main.rs +0 -0
  135. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/python/client.rs +0 -0
  136. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/python/encryption.rs +0 -0
  137. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/python/stream.rs +0 -0
  138. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/sign.rs +0 -0
  139. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/text.rs +0 -0
  140. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/src/upload.rs +0 -0
  141. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/functional/aws_profile.rs +0 -0
  142. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/functional/cli.rs +0 -0
  143. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/functional/client.rs +0 -0
  144. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/functional/encryption.rs +0 -0
  145. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/functional/golden.rs +0 -0
  146. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/functional/sign.rs +0 -0
  147. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/functional/suite.rs +0 -0
  148. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/functional.rs +0 -0
  149. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/azure_storage_ops.rs +0 -0
  150. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/common/azurite.rs +0 -0
  151. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/common/gcs.rs +0 -0
  152. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/common/mod.rs +0 -0
  153. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/common/provider.rs +0 -0
  154. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/encryption.rs +0 -0
  155. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/file_roundtrip.rs +0 -0
  156. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/gcs_storage_ops.rs +0 -0
  157. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/reencrypt.rs +0 -0
  158. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/s3_storage_ops.rs +0 -0
  159. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration/storage_ops.rs +0 -0
  160. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/integration.rs +0 -0
  161. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/perf_guards.rs +0 -0
  162. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/conftest.py +0 -0
  163. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_abort_at_exit.py +0 -0
  164. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_encrypted_client.py +0 -0
  165. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_encryption_runtime.py +0 -0
  166. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_free_threading.py +0 -0
  167. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_gil_contention.py +0 -0
  168. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_list_stream.py +0 -0
  169. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_pipe_native.py +0 -0
  170. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_profile.py +0 -0
  171. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_roundtrip.py +0 -0
  172. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_shared_client.py +0 -0
  173. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_stream_leak.py +0 -0
  174. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_stream_sticky.py +0 -0
  175. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_stub_conformance.py +0 -0
  176. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_subinterpreter.py +0 -0
  177. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/python/test_worker_threads.py +0 -0
  178. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/support/mini_http.rs +0 -0
  179. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/support/mock.rs +0 -0
  180. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/support/mod.rs +0 -0
  181. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/README.md +0 -0
  182. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/ctx_long.bin +0 -0
  183. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/ctx_min.bin +0 -0
  184. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/ctx_utf8.bin +0 -0
  185. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/manifest.json +0 -0
  186. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p0_f4096.bin +0 -0
  187. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p0_f65536.bin +0 -0
  188. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p1_f4096.bin +0 -0
  189. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p1_f65536.bin +0 -0
  190. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p200000_f4096.bin +0 -0
  191. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p200000_f65536.bin +0 -0
  192. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p4095_f4096.bin +0 -0
  193. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p4095_f65536.bin +0 -0
  194. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p4096_f4096.bin +0 -0
  195. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p4096_f65536.bin +0 -0
  196. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p4097_f4096.bin +0 -0
  197. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p4097_f65536.bin +0 -0
  198. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p65535_f4096.bin +0 -0
  199. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p65535_f65536.bin +0 -0
  200. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p65536_f4096.bin +0 -0
  201. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p65536_f65536.bin +0 -0
  202. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p65537_f4096.bin +0 -0
  203. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/esdk/p65537_f65536.bin +0 -0
  204. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/golden/README.md +0 -0
  205. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/golden/v1/context.bin +0 -0
  206. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/golden/v1/keyring +0 -0
  207. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/golden/v1/manifest.json +0 -0
  208. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/golden/v1/old_key.bin +0 -0
  209. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/golden/v1/size_0.bin +0 -0
  210. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/golden/v1/size_1.bin +0 -0
  211. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/golden/v1/size_200000.bin +0 -0
  212. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/golden/v1/size_65536.bin +0 -0
  213. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/keyrings/README.md +0 -0
  214. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/keyrings/one.keyring +0 -0
  215. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/keyrings/other.keyring +0 -0
  216. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/tests/vectors/keyrings/two.keyring +0 -0
  217. {object_storage_client-0.4.3 → object_storage_client-0.4.7}/uv.lock +0 -0
@@ -17,6 +17,21 @@ concurrency:
17
17
 
18
18
  jobs:
19
19
 
20
+ # Advisories and yanks change over time, so a release re-checks them.
21
+ deny:
22
+ name: cargo deny (advisories, bans, sources)
23
+ runs-on: ubuntu-latest
24
+
25
+ steps:
26
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
27
+ with:
28
+ persist-credentials: false
29
+
30
+ - uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2.1.1
31
+ with:
32
+ command: check advisories bans sources
33
+ arguments: --all-features
34
+
20
35
  test:
21
36
  # Stable only: a beta or nightly compiler problem must not block a release.
22
37
  name: Test
@@ -62,21 +77,6 @@ jobs:
62
77
  - name: Run clippy
63
78
  run: cargo clippy --locked --all-targets --all-features -- -D warnings
64
79
 
65
- # Advisories and yanks change over time, so a release re-checks them.
66
- deny:
67
- name: cargo deny (advisories, bans, sources)
68
- runs-on: ubuntu-latest
69
-
70
- steps:
71
- - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
72
- with:
73
- persist-credentials: false
74
-
75
- - uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2.1.1
76
- with:
77
- command: check advisories bans sources
78
- arguments: --all-features
79
-
80
80
  build-wheels:
81
81
  name: Build wheels (${{ matrix.os }}${{ matrix.target && format(' / {0}', matrix.target) || '' }} / py${{ matrix.python }})
82
82
  needs: [ test, rustfmt ]
@@ -305,12 +305,227 @@ jobs:
305
305
  id-token: write
306
306
 
307
307
  steps:
308
- - name: Download artifacts
308
+ # Only the wheels and the sdist: the desktop packages from build-linux
309
+ # and build-macos are in this run too, and must not reach PyPI.
310
+ - name: Download wheels
311
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
312
+ with:
313
+ pattern: wheels-*
314
+ path: dist
315
+ merge-multiple: true
316
+
317
+ - name: Download sdist
309
318
  uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
310
319
  with:
320
+ name: sdist
311
321
  path: dist
312
322
  merge-multiple: true
313
323
 
324
+ - name: Check that only Python distributions are present
325
+ run: |
326
+ set -euo pipefail
327
+ extra=$(find dist -type f ! -name '*.whl' ! -name '*.tar.gz')
328
+ if [ -n "$extra" ]; then
329
+ echo "error: non-Python files in dist/, refusing to publish:" >&2
330
+ echo "$extra" >&2
331
+ exit 1
332
+ fi
333
+ ls -l dist
334
+
314
335
  # Trusted Publishing (OIDC): no stored token. Also uploads PEP 740 attestations.
315
336
  - name: Publish to PyPI
316
337
  uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # v1.14.3
338
+
339
+ # Release binaries for Linux, built in the manylinux_2_28 image so they run
340
+ # on glibc 2.28 and newer. Each arch builds on a native runner: no QEMU.
341
+ build-linux:
342
+ name: Build Linux (${{ matrix.arch }})
343
+ needs: [ test, rustfmt ]
344
+ runs-on: ${{ matrix.runner }}
345
+
346
+ strategy:
347
+ fail-fast: false
348
+ matrix:
349
+ include:
350
+ - arch: x86_64
351
+ runner: ubuntu-latest
352
+ image: quay.io/pypa/manylinux_2_28_x86_64
353
+ nfpm_arch: x86_64
354
+ nfpm_sha256: 6d7f9a28b2f397934403950fcbba83f598b08d02edbe79a0815b3b4897341750
355
+ - arch: aarch64
356
+ runner: ubuntu-24.04-arm
357
+ image: quay.io/pypa/manylinux_2_28_aarch64
358
+ nfpm_arch: arm64
359
+ nfpm_sha256: a9a75213763783b7669719e505474c748c5ad7dc66591a195619deb50f85c2f4
360
+
361
+ steps:
362
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
363
+ with:
364
+ persist-credentials: false
365
+
366
+ # Rust is installed inside the container with rustup (minimal profile).
367
+ - name: Build in manylinux
368
+ env:
369
+ IMAGE: ${{ matrix.image }}
370
+ run: |
371
+ docker run --rm \
372
+ -v "$PWD:/work" -w /work \
373
+ "$IMAGE" \
374
+ bash -euo pipefail -c '
375
+ curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs \
376
+ | sh -s -- -y --profile minimal --default-toolchain stable
377
+ . "$HOME/.cargo/env"
378
+ cargo build --locked --release --features gui --bin osc --bin osc-gui
379
+ target/release/osc --version
380
+ '
381
+
382
+ - name: Check the glibc requirement
383
+ run: bash scripts/release/check-glibc.sh 2.28 target/release/osc target/release/osc-gui
384
+
385
+ - name: Install nfpm
386
+ env:
387
+ NFPM_VERSION: 2.48.0
388
+ NFPM_ARCH: ${{ matrix.nfpm_arch }}
389
+ NFPM_SHA256: ${{ matrix.nfpm_sha256 }}
390
+ run: |
391
+ archive="nfpm_${NFPM_VERSION}_Linux_${NFPM_ARCH}.tar.gz"
392
+ curl --proto '=https' --tlsv1.2 -sSfL -o "$RUNNER_TEMP/$archive" \
393
+ "https://github.com/goreleaser/nfpm/releases/download/v${NFPM_VERSION}/${archive}"
394
+ echo "${NFPM_SHA256} $RUNNER_TEMP/$archive" | sha256sum --check --strict -
395
+ mkdir -p "$RUNNER_TEMP/nfpm"
396
+ tar -xzf "$RUNNER_TEMP/$archive" -C "$RUNNER_TEMP/nfpm" nfpm
397
+ echo "$RUNNER_TEMP/nfpm" >> "$GITHUB_PATH"
398
+
399
+ - name: Make the tarball, deb and rpm
400
+ env:
401
+ ARCH: ${{ matrix.arch }}
402
+ run: |
403
+ version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')
404
+ mkdir -p dist
405
+ bash scripts/release/linux-tarball.sh "$version" "$ARCH" target/release dist
406
+ bash scripts/release/linux-packages.sh "$version" "$ARCH" target/release dist
407
+ ls -l dist
408
+
409
+ - name: Upload Linux artifacts
410
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
411
+ with:
412
+ name: linux-${{ matrix.arch }}
413
+ path: dist/*
414
+ if-no-files-found: error
415
+
416
+ # The macOS app has no signing secrets: the bundle is ad-hoc signed only.
417
+ build-macos:
418
+ name: Build macOS (arm64)
419
+ needs: [ test, rustfmt ]
420
+ runs-on: macos-latest
421
+
422
+ steps:
423
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
424
+ with:
425
+ persist-credentials: false
426
+
427
+ - name: Install Rust
428
+ uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1
429
+ with:
430
+ toolchain: stable
431
+
432
+ - name: Build
433
+ run: cargo build --locked --release --features gui --bin osc --bin osc-gui
434
+
435
+ - name: Make the dmg
436
+ run: |
437
+ version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')
438
+ mkdir -p dist
439
+ bash scripts/release/macos-dmg.sh "$version" target/release dist
440
+ ls -l dist
441
+
442
+ - name: Run the binaries from the mounted dmg
443
+ run: |
444
+ mnt="$RUNNER_TEMP/dmg"
445
+ mkdir -p "$mnt"
446
+ hdiutil attach -readonly -nobrowse -mountpoint "$mnt" dist/*.dmg
447
+ trap 'hdiutil detach "$mnt"' EXIT
448
+ app="$mnt/Object Storage Client.app/Contents/MacOS"
449
+ "$app/osc" --version
450
+ "$app/osc-gui" --version
451
+
452
+ - name: Upload macOS artifact
453
+ uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
454
+ with:
455
+ name: macos-arm64
456
+ path: dist/*.dmg
457
+ if-no-files-found: error
458
+
459
+ # Installs each package into a fresh distribution on its own architecture.
460
+ test-packages:
461
+ name: Test packages (${{ matrix.arch }})
462
+ needs: [ build-linux ]
463
+ runs-on: ${{ matrix.runner }}
464
+
465
+ strategy:
466
+ fail-fast: false
467
+ matrix:
468
+ include:
469
+ - arch: x86_64
470
+ runner: ubuntu-latest
471
+ - arch: aarch64
472
+ runner: ubuntu-24.04-arm
473
+
474
+ steps:
475
+ - name: Download the packages
476
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
477
+ with:
478
+ name: linux-${{ matrix.arch }}
479
+ path: dist
480
+
481
+ - name: Install the deb in debian
482
+ run: |
483
+ docker run --rm -v "$PWD/dist:/dist:ro" debian:stable \
484
+ bash -euo pipefail -c '
485
+ apt-get update
486
+ apt-get install -y /dist/*.deb
487
+ osc --version
488
+ osc-gui --version
489
+ '
490
+
491
+ - name: Install the rpm in fedora
492
+ run: |
493
+ docker run --rm -v "$PWD/dist:/dist:ro" fedora:latest \
494
+ bash -euo pipefail -c '
495
+ dnf install -y /dist/*.rpm
496
+ osc --version
497
+ osc-gui --version
498
+ '
499
+
500
+ publish-release:
501
+ name: Attach packages to the GitHub release
502
+ needs: [ deny, package-crate, build-linux, build-macos, test-packages ]
503
+ runs-on: ubuntu-latest
504
+ environment: release
505
+ if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v')
506
+ permissions:
507
+ contents: write
508
+
509
+ steps:
510
+ - name: Download the Linux artifacts
511
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
512
+ with:
513
+ pattern: linux-*
514
+ path: dist
515
+ merge-multiple: true
516
+
517
+ - name: Download the macOS artifact
518
+ uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
519
+ with:
520
+ name: macos-arm64
521
+ path: dist
522
+
523
+ - name: Upload to the release
524
+ env:
525
+ GH_TOKEN: ${{ github.token }}
526
+ run: |
527
+ cd dist
528
+ sha256sum -- *.tar.gz *.deb *.rpm *.dmg > SHA256SUMS
529
+ cat SHA256SUMS
530
+ gh release upload "$GITHUB_REF_NAME" --repo "$GITHUB_REPOSITORY" --clobber \
531
+ *.tar.gz *.deb *.rpm *.dmg SHA256SUMS
@@ -2819,9 +2819,9 @@ dependencies = [
2819
2819
 
2820
2820
  [[package]]
2821
2821
  name = "mime"
2822
- version = "0.3.17"
2822
+ version = "0.3.18"
2823
2823
  source = "registry+https://github.com/rust-lang/crates.io-index"
2824
- checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
2824
+ checksum = "d5848f5a9e8117cf94f2f90faac24a87ff81600ff8628c1e3deaab572e76bfa1"
2825
2825
 
2826
2826
  [[package]]
2827
2827
  name = "miniz_oxide"
@@ -3346,7 +3346,7 @@ dependencies = [
3346
3346
 
3347
3347
  [[package]]
3348
3348
  name = "object-storage-client"
3349
- version = "0.4.3"
3349
+ version = "0.4.7"
3350
3350
  dependencies = [
3351
3351
  "alloc-counter",
3352
3352
  "async-trait",
@@ -5885,9 +5885,9 @@ dependencies = [
5885
5885
 
5886
5886
  [[package]]
5887
5887
  name = "winnow"
5888
- version = "1.0.4"
5888
+ version = "1.0.5"
5889
5889
  source = "registry+https://github.com/rust-lang/crates.io-index"
5890
- checksum = "23b97319f7b8343df12cc98938e5c3eb436064524c8d2b4e30a1d3a36eecdf81"
5890
+ checksum = "8c3b93199df0ab874cdf0c6a94f0a0dc3423fe41f1cafb62b8bd7b1deb277aef"
5891
5891
  dependencies = [
5892
5892
  "memchr",
5893
5893
  ]
@@ -9,7 +9,7 @@ license = "GPL-3.0-only"
9
9
  name = "object-storage-client"
10
10
  readme = "README.md"
11
11
  repository = "https://github.com/bixority/object-storage-client"
12
- version = "0.4.3"
12
+ version = "0.4.7"
13
13
 
14
14
  [lib]
15
15
  # maturin adds the cdylib crate type itself; do not list it here.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: object-storage-client
3
- Version: 0.4.3
3
+ Version: 0.4.7
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: 3
@@ -64,12 +64,24 @@ delete objects and whole folders within a panel or between the two, also across
64
64
  accounts and providers. It finds the connections already set up on the machine
65
65
  and takes the same encryption options as `osc`.
66
66
 
67
- ![osc-gui with Local in the left panel and an S3 connection's bucket list in the right panel](docs/images/osc-gui.png)
67
+ ![osc-gui with Local in the left panel and an S3 bucket in the right panel, where archived (❄) and restoring (⌛) objects are greyed out](docs/images/osc-gui.png)
68
68
 
69
69
  ### Install
70
70
 
71
- The browser is behind the optional `gui` feature, so `osc` alone is unaffected.
72
- Install both binaries from the registry:
71
+ Each [GitHub release](https://github.com/bixority/object-storage-client/releases)
72
+ has packages for both binaries:
73
+
74
+ - **macOS (Apple silicon):** open the `.dmg` and drag the app to Applications.
75
+ The app is not signed with an Apple Developer ID, so macOS blocks it on first
76
+ launch. Open System Settings → Privacy & Security and choose **Open Anyway**.
77
+ The README in the `.dmg` shows how to put `osc` on your PATH.
78
+ - **Debian and Ubuntu:** `sudo apt install ./object-storage-client_<version>-1_amd64.deb`
79
+ - **Fedora and RHEL-family:** `sudo dnf install ./object-storage-client-<version>-1.x86_64.rpm`
80
+
81
+ The Linux packages install the GUI's runtime libraries (Wayland, xkbcommon,
82
+ EGL and GL) as dependencies.
83
+
84
+ Or install both binaries from the registry:
73
85
 
74
86
  ```bash
75
87
  export CARGO_REGISTRIES_BIXORITY_INDEX="sparse+https://codeberg.org/api/packages/bixority/cargo/"
@@ -94,10 +106,13 @@ osc-gui --keyring keyring # copies encrypt and decrypt
94
106
  Each panel has a connection selector for Local and what is found on the
95
107
  machine: AWS profiles, provider environment variables, gcloud configurations and
96
108
  Azure CLI storage accounts; a cloud connection lists its buckets. Type any
97
- matching URL or path into a panel's address bar and press Enter. If a
98
- connection cannot authenticate, an AWS SSO profile can log in from the panel's
99
- error banner; for gcloud and Azure the banner shows the command to run. The
100
- keys and shortcuts are listed in [Desktop browser](docs/GUI.md), which also
109
+ matching URL or path into a panel's address bar and press Enter. Archived
110
+ objects (S3 Glacier Flexible Retrieval and Deep Archive, Azure Archive tier)
111
+ show ❄ and objects being restored show ⌛; copy, move and rename skip them and
112
+ say why.
113
+ If a connection cannot authenticate, an AWS SSO profile can log in from the
114
+ panel's error banner; for gcloud and Azure the banner shows the command to run.
115
+ The keys and shortcuts are listed in [Desktop browser](docs/GUI.md), which also
101
116
  covers limits and closing behaviour.
102
117
 
103
118
  ## CLI (`osc`)
@@ -407,7 +422,8 @@ health = keyring.status() # active key, key ages, last reload error
407
422
  - [Encryption](docs/ENCRYPTION.md): what it protects, keyrings, Kubernetes, key
408
423
  rotation, responding to a key leak, the format and interop.
409
424
  - [Behaviour and limits](docs/BEHAVIOR.md): URL rules, copy and move, deletes,
410
- file permissions, large objects, pre-signing, CLI and Python details.
425
+ archived objects, file permissions, large objects, pre-signing, CLI and
426
+ Python details.
411
427
  - [Desktop browser](docs/GUI.md): `osc-gui`, its keys, limits and closing.
412
428
  - [Upgrading](docs/UPGRADING.md): breaking changes between releases.
413
429
  - [Development](docs/DEVELOPMENT.md) and [Testing](docs/TESTING.md).
@@ -44,12 +44,24 @@ delete objects and whole folders within a panel or between the two, also across
44
44
  accounts and providers. It finds the connections already set up on the machine
45
45
  and takes the same encryption options as `osc`.
46
46
 
47
- ![osc-gui with Local in the left panel and an S3 connection's bucket list in the right panel](docs/images/osc-gui.png)
47
+ ![osc-gui with Local in the left panel and an S3 bucket in the right panel, where archived (❄) and restoring (⌛) objects are greyed out](docs/images/osc-gui.png)
48
48
 
49
49
  ### Install
50
50
 
51
- The browser is behind the optional `gui` feature, so `osc` alone is unaffected.
52
- Install both binaries from the registry:
51
+ Each [GitHub release](https://github.com/bixority/object-storage-client/releases)
52
+ has packages for both binaries:
53
+
54
+ - **macOS (Apple silicon):** open the `.dmg` and drag the app to Applications.
55
+ The app is not signed with an Apple Developer ID, so macOS blocks it on first
56
+ launch. Open System Settings → Privacy & Security and choose **Open Anyway**.
57
+ The README in the `.dmg` shows how to put `osc` on your PATH.
58
+ - **Debian and Ubuntu:** `sudo apt install ./object-storage-client_<version>-1_amd64.deb`
59
+ - **Fedora and RHEL-family:** `sudo dnf install ./object-storage-client-<version>-1.x86_64.rpm`
60
+
61
+ The Linux packages install the GUI's runtime libraries (Wayland, xkbcommon,
62
+ EGL and GL) as dependencies.
63
+
64
+ Or install both binaries from the registry:
53
65
 
54
66
  ```bash
55
67
  export CARGO_REGISTRIES_BIXORITY_INDEX="sparse+https://codeberg.org/api/packages/bixority/cargo/"
@@ -74,10 +86,13 @@ osc-gui --keyring keyring # copies encrypt and decrypt
74
86
  Each panel has a connection selector for Local and what is found on the
75
87
  machine: AWS profiles, provider environment variables, gcloud configurations and
76
88
  Azure CLI storage accounts; a cloud connection lists its buckets. Type any
77
- matching URL or path into a panel's address bar and press Enter. If a
78
- connection cannot authenticate, an AWS SSO profile can log in from the panel's
79
- error banner; for gcloud and Azure the banner shows the command to run. The
80
- keys and shortcuts are listed in [Desktop browser](docs/GUI.md), which also
89
+ matching URL or path into a panel's address bar and press Enter. Archived
90
+ objects (S3 Glacier Flexible Retrieval and Deep Archive, Azure Archive tier)
91
+ show ❄ and objects being restored show ⌛; copy, move and rename skip them and
92
+ say why.
93
+ If a connection cannot authenticate, an AWS SSO profile can log in from the
94
+ panel's error banner; for gcloud and Azure the banner shows the command to run.
95
+ The keys and shortcuts are listed in [Desktop browser](docs/GUI.md), which also
81
96
  covers limits and closing behaviour.
82
97
 
83
98
  ## CLI (`osc`)
@@ -387,7 +402,8 @@ health = keyring.status() # active key, key ages, last reload error
387
402
  - [Encryption](docs/ENCRYPTION.md): what it protects, keyrings, Kubernetes, key
388
403
  rotation, responding to a key leak, the format and interop.
389
404
  - [Behaviour and limits](docs/BEHAVIOR.md): URL rules, copy and move, deletes,
390
- file permissions, large objects, pre-signing, CLI and Python details.
405
+ archived objects, file permissions, large objects, pre-signing, CLI and
406
+ Python details.
391
407
  - [Desktop browser](docs/GUI.md): `osc-gui`, its keys, limits and closing.
392
408
  - [Upgrading](docs/UPGRADING.md): breaking changes between releases.
393
409
  - [Development](docs/DEVELOPMENT.md) and [Testing](docs/TESTING.md).
@@ -4,7 +4,12 @@
4
4
  yanked = "deny"
5
5
  # Triage an advisory by updating the crate; only if that is impossible, add
6
6
  # its id here with a reason.
7
- ignore = []
7
+ ignore = [
8
+ # astral-tokio-tar is unmaintained (all versions); it comes only from the
9
+ # dev-dependency testcontainers 0.28 (the latest), so it never ships.
10
+ # Remove once testcontainers drops it.
11
+ { id = "RUSTSEC-2026-0440", reason = "dev-only via testcontainers 0.28; no maintained alternative yet" },
12
+ ]
8
13
 
9
14
  [bans]
10
15
  multiple-versions = "allow"
@@ -73,7 +73,8 @@ decrypts the source and re-encrypts it to the destination, see
73
73
  destination committed.
74
74
 
75
75
  A plain copy or move first reads the start of the source with one extra ranged
76
- request of 1 KiB (up to 16 KiB more only for a larger header). An encrypted object whose header binds a name other than the
76
+ request of 1 KiB (and a second one of at most 16 KiB only for a larger
77
+ header). An encrypted object whose header binds a name other than the
77
78
  destination's is refused with `Error::InvalidInput` and nothing is written or
78
79
  deleted, because the copy would be unreadable; a header that starts like ours
79
80
  but does not parse is refused too. Other objects, and encrypted objects without
@@ -88,18 +89,21 @@ itself (the same path, scheme aliases such as `gs`/`gcs` or `az`/`abfs`, or a
88
89
  encrypted objects alike, whatever the key; an object on an old key stays on it
89
90
  (use `reencrypt`). Only a `file://` path through a symlinked directory with
90
91
  object key binding on is re-encrypted under its new name, and that rewrite is
91
- abandoned with `Error::Changed` if the file changed meanwhile. An encrypted copy or
92
- move whose source is replaced while it is being read is abandoned the same way:
93
- nothing is written and the source is kept. Every move, server-side or
94
- streamed, deletes the source only if it still matches the object that was
95
- copied (size, last-modified, e-tag, version). If it changed, for example
96
- because the destination is another name for the same server (an IP and a
92
+ abandoned with `Error::Changed` if the file changed meanwhile. Every move,
93
+ server-side or streamed, deletes the source only if it still matches the object
94
+ that was copied (size, last-modified, e-tag, version). If it changed, for
95
+ example because the destination is another name for the same server (an IP and a
97
96
  hostname, a CNAME) or a concurrent writer replaced it, the source is kept and
98
97
  `Error::SourceChanged` is returned; the destination stays written. A
99
98
  same-second rewrite with identical bytes on a store that reports no e-tag or
100
99
  version cannot be detected. Only a move inside one `file://` file system is an
101
100
  atomic rename.
102
101
 
102
+ `osc-gui` gives each connection a client of its own. A copy or move between two
103
+ connections always streams, and a move between them onto the same URL is
104
+ refused with `Error::InvalidInput` and keeps the source, because both may reach
105
+ one object.
106
+
103
107
  A copy or move inside one `http(s)://` origin is a WebDAV `COPY` (a move then
104
108
  deletes the source as above), so the server must support `COPY`; one that does
105
109
  not (405 or 501) fails the call, and the copy can be made with `get` and `put`
@@ -133,7 +137,8 @@ sends no `HEAD`; a move still needs one.
133
137
  A plain copy or move between two buckets (containers) of one provider is
134
138
  server-side too, when all of these hold:
135
139
 
136
- - both ends are S3, both GCS or both Azure (not across providers or schemes);
140
+ - both ends are S3, both GCS or both Azure (not across providers; the scheme
141
+ aliases `gs`/`gcs` and `az`/`wasb(s)`/`abfs(s)` count as one provider);
137
142
  - both reach the same endpoint (GCS: the same JSON API origin; Azure: the same
138
143
  storage account) and, for S3, the same region and addressing style;
139
144
  - both use the very same credential provider, which one client shares between
@@ -165,14 +170,15 @@ code `SourceConditionNotMet`). Any other failed answer is an
165
170
  error, never a silent stream, so a refused request is not retried under other
166
171
  credentials. A copy request that fails before any answer, or is answered 429,
167
172
  500, 502, 503 or 504, is sent again after 200 ms and 400 ms, three attempts in
168
- all; a request answered 2xx is never sent again. An S3 `200` counts as a copy
169
- only when its body is a `CopyObjectResult`: S3 may send white space first and
170
- the result or an `<Error>` last, so an empty, cut-off or other body is an
171
- error. A move deletes the source, on its own bucket, only after the copy is
172
- complete, the destination is as large as the source was read to be, and the
173
- source is unchanged. The provider copies the content type
174
- and user metadata; no storage class or access tier is sent. Encrypted copies
175
- never take this path.
173
+ all; a request answered 2xx is never sent again. Each attempt has the limits of
174
+ a bucket operation: 5 s to connect and 30 s in all, answer included. An S3
175
+ `200` counts as a copy only when its body is a `CopyObjectResult`: S3 may send
176
+ white space first and the result or an `<Error>` last, so an empty, cut-off or
177
+ other body is an error. A move deletes the source, on its own bucket, only
178
+ after the copy is complete, the destination is as large as the source was read
179
+ to be, and the source is unchanged. The provider copies the content type and
180
+ user metadata; no storage class or access tier is sent. Encrypted copies never
181
+ take this path.
176
182
 
177
183
  A streamed plain copy keeps the source's `Content-Type`, `Content-Encoding`,
178
184
  `Content-Disposition`, `Content-Language` and `Cache-Control`, and its user
@@ -245,6 +251,16 @@ in full:
245
251
  `Depth: 1` without an error, so the listing silently stops one level deep and
246
252
  misses nested objects.
247
253
 
254
+ ## Archived objects
255
+
256
+ Reading, copying or moving an archived object fails with `Error::Archived`
257
+ (Python: `PermissionError`): for S3 `InvalidObjectState` (a `GLACIER` or
258
+ `DEEP_ARCHIVE` object that is not restored, or an Intelligent-Tiering object in
259
+ an archive tier), for Azure `BlobArchived` (the Archive tier). Restore (S3) or
260
+ rehydrate (Azure) the object first. A delete is not affected, and neither are
261
+ `exists` and plain metadata (a `HEAD`); encrypted metadata and
262
+ `inspect_encryption` read the header and fail the same way.
263
+
248
264
  ## Writes to `file://`
249
265
 
250
266
  This section describes Unix (Linux and macOS). On Windows the crate's own
@@ -348,7 +364,8 @@ source, and gives the same permission bits.
348
364
  the 5 minutes: about 0.9 Mbit/s for the default 4 parts of 8 MiB in flight,
349
365
  about 28.6 Mbit/s for a 1 GiB `http(s)://` put.
350
366
  See [Configuration](CONFIGURATION.md#request-timeouts).
351
- - Bucket operations (`create_bucket`, `bucket_exists`) time out after 5 s to
367
+ - Bucket operations (`create_bucket`, `bucket_exists`) and the requests of a
368
+ server-side copy (see [Copy and move](#copy-and-move)) time out after 5 s to
352
369
  connect and 30 s per request. They never follow a redirect. They use the
353
370
  transport settings of the store: `*_ALLOW_HTTP`, `*_ALLOW_INVALID_CERTIFICATES`,
354
371
  `*_PROXY_URL`, `*_PROXY_CA_CERTIFICATE`, `*_PROXY_EXCLUDES`, `*_USER_AGENT`,