ferogram 0.1.1__tar.gz → 0.1.2__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 (40) hide show
  1. {ferogram-0.1.1 → ferogram-0.1.2}/.github/workflows/publish.yml +3 -3
  2. {ferogram-0.1.1 → ferogram-0.1.2}/Cargo.lock +1 -1
  3. {ferogram-0.1.1 → ferogram-0.1.2}/Cargo.toml +2 -2
  4. {ferogram-0.1.1 → ferogram-0.1.2}/PKG-INFO +1 -1
  5. {ferogram-0.1.1 → ferogram-0.1.2}/pyproject.toml +1 -1
  6. {ferogram-0.1.1 → ferogram-0.1.2}/.gitignore +0 -0
  7. {ferogram-0.1.1 → ferogram-0.1.2}/LICENSE-APACHE +0 -0
  8. {ferogram-0.1.1 → ferogram-0.1.2}/LICENSE-MIT +0 -0
  9. {ferogram-0.1.1 → ferogram-0.1.2}/README.md +0 -0
  10. {ferogram-0.1.1 → ferogram-0.1.2}/examples/command_bot.py +0 -0
  11. {ferogram-0.1.1 → ferogram-0.1.2}/examples/echo_bot.py +0 -0
  12. {ferogram-0.1.1 → ferogram-0.1.2}/examples/raw_invoke.py +0 -0
  13. {ferogram-0.1.1 → ferogram-0.1.2}/examples/send_hi.py +0 -0
  14. {ferogram-0.1.1 → ferogram-0.1.2}/examples/send_media.py +0 -0
  15. {ferogram-0.1.1 → ferogram-0.1.2}/examples/send_message.py +0 -0
  16. {ferogram-0.1.1 → ferogram-0.1.2}/examples/update_handlers.py +0 -0
  17. {ferogram-0.1.1 → ferogram-0.1.2}/examples/userbot.py +0 -0
  18. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/__init__.py +0 -0
  19. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/client.py +0 -0
  20. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/filters.py +0 -0
  21. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/logging.py +0 -0
  22. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/py.typed +0 -0
  23. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/__init__.py +0 -0
  24. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/api/__init__.py +0 -0
  25. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/api/functions.py +0 -0
  26. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/api/types.py +0 -0
  27. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/codegen.py +0 -0
  28. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/generated/__init__.py +0 -0
  29. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/generated/_tl_schema.py +0 -0
  30. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/generated/functions.py +0 -0
  31. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/generated/types.py +0 -0
  32. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw/tl.py +0 -0
  33. {ferogram-0.1.1 → ferogram-0.1.2}/ferogram/raw_api.tl +0 -0
  34. {ferogram-0.1.1 → ferogram-0.1.2}/src/auth.rs +0 -0
  35. {ferogram-0.1.1 → ferogram-0.1.2}/src/client.rs +0 -0
  36. {ferogram-0.1.1 → ferogram-0.1.2}/src/lib.rs +0 -0
  37. {ferogram-0.1.1 → ferogram-0.1.2}/src/message.rs +0 -0
  38. {ferogram-0.1.1 → ferogram-0.1.2}/src/raw.rs +0 -0
  39. {ferogram-0.1.1 → ferogram-0.1.2}/src/types.rs +0 -0
  40. {ferogram-0.1.1 → ferogram-0.1.2}/src/updates.rs +0 -0
@@ -150,7 +150,7 @@ jobs:
150
150
  env:
151
151
  ANDROID_NDK_HOME: ${{ steps.ndk.outputs.ndk-path }}
152
152
  ANDROID_API_LEVEL: ${{ matrix.api }}
153
- PYO3_CROSS_PYTHON_VERSION: "3.9"
153
+ PYO3_CROSS_PYTHON_VERSION: "3.12"
154
154
  run: |
155
155
  NDK_BIN=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin
156
156
  TARGET=${{ matrix.target }}
@@ -173,14 +173,14 @@ jobs:
173
173
  export AR_${TARGET_LOWER}=$NDK_BIN/llvm-ar
174
174
  export CARGO_TARGET_${TARGET_UPPER}_LINKER=$NDK_BIN/${CLANG_PREFIX}-clang
175
175
 
176
- # pyo3 emits -lpython3.9 for abi3 cross-builds. The linker needs a
176
+ # pyo3 emits -lpython3.12 for abi3 cross-builds. The linker needs a
177
177
  # lib to satisfy that reference; at runtime Termux's Python provides
178
178
  # the real symbols. Create empty stubs and inject via RUSTFLAGS so
179
179
  # the linker finds them without maturin treating the dir as a Python
180
180
  # sysroot (which PYO3_CROSS_LIB_DIR would do, triggering a
181
181
  # _sysconfigdata*.py search and failing).
182
182
  STUB_DIR=$(mktemp -d)
183
- $NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.9.a"
183
+ $NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.12.a"
184
184
  $NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.a"
185
185
  export RUSTFLAGS="-L native=$STUB_DIR"
186
186
 
@@ -347,7 +347,7 @@ dependencies = [
347
347
 
348
348
  [[package]]
349
349
  name = "ferogram-py"
350
- version = "0.1.1"
350
+ version = "0.1.2"
351
351
  dependencies = [
352
352
  "ferogram",
353
353
  "pyo3",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "ferogram-py"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  edition = "2024"
5
5
  description = "Python bindings for ferogram (Rust MTProto)"
6
6
  license = "MIT OR Apache-2.0"
@@ -12,7 +12,7 @@ crate-type = ["cdylib"]
12
12
 
13
13
  [dependencies]
14
14
  ferogram = { git = "https://github.com/ankit-chaubey/ferogram", branch = "main" }
15
- pyo3 = { version = "0.23", features = ["extension-module", "abi3-py39"] }
15
+ pyo3 = { version = "0.23", features = ["extension-module", "abi3-py312"] }
16
16
  pyo3-async-runtimes = { version = "0.23", features = ["tokio-runtime"] }
17
17
  tokio = { version = "1", features = ["full"] }
18
18
  # Note: do NOT add ferogram-tl-types as a direct dep - use ferogram::tl instead
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ferogram
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "ferogram"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Python wrapper for ferogram, blazing-fast Rust MTProto library for Telegram."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT OR Apache-2.0" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes