maturin 1.0.0b9__tar.gz → 1.0.1__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.

Potentially problematic release.


This version of maturin might be problematic. Click here for more details.

Files changed (72) hide show
  1. {maturin-1.0.0b9 → maturin-1.0.1}/.cirrus.yml +2 -2
  2. maturin-1.0.1/.devcontainer/devcontainer.json +22 -0
  3. maturin-1.0.1/.devcontainer/post_create.sh +12 -0
  4. {maturin-1.0.0b9 → maturin-1.0.1}/Cargo.lock +307 -201
  5. {maturin-1.0.0b9 → maturin-1.0.1}/Cargo.toml +8 -8
  6. {maturin-1.0.0b9 → maturin-1.0.1}/Changelog.md +35 -1
  7. {maturin-1.0.0b9 → maturin-1.0.1}/PKG-INFO +17 -5
  8. {maturin-1.0.0b9 → maturin-1.0.1}/README.md +16 -4
  9. {maturin-1.0.0b9 → maturin-1.0.1}/deny.toml +6 -0
  10. {maturin-1.0.0b9 → maturin-1.0.1}/maturin/__init__.py +17 -4
  11. {maturin-1.0.0b9 → maturin-1.0.1}/setup.py +2 -1
  12. {maturin-1.0.0b9 → maturin-1.0.1}/src/build_context.rs +5 -4
  13. {maturin-1.0.0b9 → maturin-1.0.1}/src/build_options.rs +37 -27
  14. {maturin-1.0.0b9 → maturin-1.0.1}/src/compile.rs +1 -1
  15. {maturin-1.0.0b9 → maturin-1.0.1}/src/develop.rs +0 -1
  16. {maturin-1.0.0b9 → maturin-1.0.1}/src/module_writer.rs +24 -8
  17. {maturin-1.0.0b9 → maturin-1.0.1}/src/project_layout.rs +34 -16
  18. {maturin-1.0.0b9 → maturin-1.0.1}/src/pyproject_toml.rs +52 -14
  19. maturin-1.0.1/src/python_interpreter/config.rs +747 -0
  20. {maturin-1.0.0b9 → maturin-1.0.1}/src/python_interpreter/mod.rs +36 -11
  21. {maturin-1.0.0b9 → maturin-1.0.1}/src/source_distribution.rs +23 -13
  22. {maturin-1.0.0b9 → maturin-1.0.1}/src/target.rs +4 -3
  23. {maturin-1.0.0b9 → maturin-1.0.1}/src/templates/Cargo.toml.j2 +1 -1
  24. {maturin-1.0.0b9 → maturin-1.0.1}/src/upload.rs +3 -1
  25. maturin-1.0.0b9/src/python_interpreter/config.rs +0 -293
  26. maturin-1.0.0b9/src/python_interpreter/sysconfig-emscripten.json +0 -22
  27. maturin-1.0.0b9/src/python_interpreter/sysconfig-freebsd.json +0 -190
  28. maturin-1.0.0b9/src/python_interpreter/sysconfig-linux.json +0 -619
  29. maturin-1.0.0b9/src/python_interpreter/sysconfig-macos.json +0 -177
  30. maturin-1.0.0b9/src/python_interpreter/sysconfig-netbsd.json +0 -40
  31. maturin-1.0.0b9/src/python_interpreter/sysconfig-openbsd.json +0 -116
  32. maturin-1.0.0b9/src/python_interpreter/sysconfig-windows.json +0 -161
  33. {maturin-1.0.0b9 → maturin-1.0.1}/.codespellrc +0 -0
  34. {maturin-1.0.0b9 → maturin-1.0.1}/.config/nextest.toml +0 -0
  35. {maturin-1.0.0b9 → maturin-1.0.1}/.dockerignore +0 -0
  36. {maturin-1.0.0b9 → maturin-1.0.1}/.gitignore +0 -0
  37. {maturin-1.0.0b9 → maturin-1.0.1}/Code-of-Conduct.md +0 -0
  38. {maturin-1.0.0b9 → maturin-1.0.1}/Dockerfile +0 -0
  39. {maturin-1.0.0b9 → maturin-1.0.1}/MANIFEST.in +0 -0
  40. {maturin-1.0.0b9 → maturin-1.0.1}/clippy.toml +0 -0
  41. {maturin-1.0.0b9 → maturin-1.0.1}/license-apache +0 -0
  42. {maturin-1.0.0b9 → maturin-1.0.1}/license-mit +0 -0
  43. {maturin-1.0.0b9 → maturin-1.0.1}/maturin/__main__.py +0 -0
  44. {maturin-1.0.0b9 → maturin-1.0.1}/maturin/import_hook.py +0 -0
  45. {maturin-1.0.0b9 → maturin-1.0.1}/netlify.toml +0 -0
  46. {maturin-1.0.0b9 → maturin-1.0.1}/noxfile.py +0 -0
  47. {maturin-1.0.0b9 → maturin-1.0.1}/pyproject.toml +0 -0
  48. {maturin-1.0.0b9 → maturin-1.0.1}/src/auditwheel/audit.rs +0 -0
  49. {maturin-1.0.0b9 → maturin-1.0.1}/src/auditwheel/manylinux-policy.json +0 -0
  50. {maturin-1.0.0b9 → maturin-1.0.1}/src/auditwheel/mod.rs +0 -0
  51. {maturin-1.0.0b9 → maturin-1.0.1}/src/auditwheel/musllinux-policy.json +0 -0
  52. {maturin-1.0.0b9 → maturin-1.0.1}/src/auditwheel/musllinux.rs +0 -0
  53. {maturin-1.0.0b9 → maturin-1.0.1}/src/auditwheel/patchelf.rs +0 -0
  54. {maturin-1.0.0b9 → maturin-1.0.1}/src/auditwheel/platform_tag.rs +0 -0
  55. {maturin-1.0.0b9 → maturin-1.0.1}/src/auditwheel/policy.rs +0 -0
  56. {maturin-1.0.0b9 → maturin-1.0.1}/src/auditwheel/repair.rs +0 -0
  57. {maturin-1.0.0b9 → maturin-1.0.1}/src/cargo_toml.rs +0 -0
  58. {maturin-1.0.0b9 → maturin-1.0.1}/src/ci.rs +0 -0
  59. {maturin-1.0.0b9 → maturin-1.0.1}/src/cross_compile.rs +0 -0
  60. {maturin-1.0.0b9 → maturin-1.0.1}/src/lib.rs +0 -0
  61. {maturin-1.0.0b9 → maturin-1.0.1}/src/main.rs +0 -0
  62. {maturin-1.0.0b9 → maturin-1.0.1}/src/metadata.rs +0 -0
  63. {maturin-1.0.0b9 → maturin-1.0.1}/src/new_project.rs +0 -0
  64. {maturin-1.0.0b9 → maturin-1.0.1}/src/python_interpreter/get_interpreter_metadata.py +0 -0
  65. {maturin-1.0.0b9 → maturin-1.0.1}/src/templates/.gitignore.j2 +0 -0
  66. {maturin-1.0.0b9 → maturin-1.0.1}/src/templates/__init__.py.j2 +0 -0
  67. {maturin-1.0.0b9 → maturin-1.0.1}/src/templates/build.rs.j2 +0 -0
  68. {maturin-1.0.0b9 → maturin-1.0.1}/src/templates/example.udl.j2 +0 -0
  69. {maturin-1.0.0b9 → maturin-1.0.1}/src/templates/lib.rs.j2 +0 -0
  70. {maturin-1.0.0b9 → maturin-1.0.1}/src/templates/main.rs.j2 +0 -0
  71. {maturin-1.0.0b9 → maturin-1.0.1}/src/templates/pyproject.toml.j2 +0 -0
  72. {maturin-1.0.0b9 → maturin-1.0.1}/test-dockerfile.sh +0 -0
@@ -5,8 +5,8 @@ env:
5
5
  CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
6
6
 
7
7
  build_and_test: &BUILD_AND_TEST
8
- # only run tasks on pull request or bors related branches
9
- only_if: $CIRRUS_BRANCH == 'staging' || $CIRRUS_BRANCH == 'trying' || $CIRRUS_PR != ""
8
+ # only run tasks on pull request or github merge queue branches
9
+ only_if: $CIRRUS_BRANCH =~ 'gh-readonly-queue/.*' || $CIRRUS_PR != ""
10
10
  setup_script:
11
11
  - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
12
12
  - rustup target add wasm32-wasi
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "maturin",
3
+ "image": "mcr.microsoft.com/devcontainers/rust:bullseye",
4
+ "postCreateCommand": "bash .devcontainer/post_create.sh",
5
+ "customizations": {
6
+ "vscode": {
7
+ "extensions": [
8
+ "ms-python.black-formatter",
9
+ "rust-lang.rust-analyzer",
10
+ "charliermarsh.ruff"
11
+ ],
12
+ "settings": {
13
+ "editor.formatOnSave": true
14
+ }
15
+ }
16
+ },
17
+ "features": {
18
+ "ghcr.io/devcontainers/features/sshd:1": {
19
+ "version": "latest"
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,12 @@
1
+ set -euxo pipefail
2
+
3
+ sudo apt-get update
4
+ sudo apt-get install -y python3-dev python3-pip python3-venv libclang-dev
5
+ sudo python3 -m pip install cffi virtualenv pipx
6
+
7
+ pipx ensurepath
8
+ pipx install uniffi-bindgen
9
+ pipx install cargo-deny
10
+
11
+ rustup target add wasm32-wasi
12
+ curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin