ferogram 0.1.2__tar.gz → 0.1.3__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.
- {ferogram-0.1.2 → ferogram-0.1.3}/.github/workflows/publish.yml +4 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/Cargo.lock +15 -15
- {ferogram-0.1.2 → ferogram-0.1.3}/Cargo.toml +3 -3
- {ferogram-0.1.2 → ferogram-0.1.3}/PKG-INFO +1 -1
- {ferogram-0.1.2 → ferogram-0.1.3}/pyproject.toml +1 -1
- {ferogram-0.1.2 → ferogram-0.1.3}/.gitignore +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/LICENSE-APACHE +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/LICENSE-MIT +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/README.md +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/examples/command_bot.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/examples/echo_bot.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/examples/raw_invoke.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/examples/send_hi.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/examples/send_media.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/examples/send_message.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/examples/update_handlers.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/examples/userbot.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/__init__.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/client.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/filters.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/logging.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/py.typed +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/__init__.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/api/__init__.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/api/functions.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/api/types.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/codegen.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/generated/__init__.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/generated/_tl_schema.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/generated/functions.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/generated/types.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw/tl.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/ferogram/raw_api.tl +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/src/auth.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/src/client.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/src/lib.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/src/message.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/src/raw.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/src/types.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.3}/src/updates.rs +0 -0
|
@@ -151,6 +151,9 @@ jobs:
|
|
|
151
151
|
ANDROID_NDK_HOME: ${{ steps.ndk.outputs.ndk-path }}
|
|
152
152
|
ANDROID_API_LEVEL: ${{ matrix.api }}
|
|
153
153
|
PYO3_CROSS_PYTHON_VERSION: "3.12"
|
|
154
|
+
# Allow an abi3-py312 wheel to load on Python 3.13+ without ABI breakage.
|
|
155
|
+
# PyO3 0.23 needs this; 0.24+ handles it natively but the flag is harmless.
|
|
156
|
+
PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
|
|
154
157
|
run: |
|
|
155
158
|
NDK_BIN=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin
|
|
156
159
|
TARGET=${{ matrix.target }}
|
|
@@ -181,6 +184,7 @@ jobs:
|
|
|
181
184
|
# _sysconfigdata*.py search and failing).
|
|
182
185
|
STUB_DIR=$(mktemp -d)
|
|
183
186
|
$NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.12.a"
|
|
187
|
+
$NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.13.a"
|
|
184
188
|
$NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.a"
|
|
185
189
|
export RUSTFLAGS="-L native=$STUB_DIR"
|
|
186
190
|
|
|
@@ -347,7 +347,7 @@ dependencies = [
|
|
|
347
347
|
|
|
348
348
|
[[package]]
|
|
349
349
|
name = "ferogram-py"
|
|
350
|
-
version = "0.1.
|
|
350
|
+
version = "0.1.3"
|
|
351
351
|
dependencies = [
|
|
352
352
|
"ferogram",
|
|
353
353
|
"pyo3",
|
|
@@ -1162,9 +1162,9 @@ checksum = "007d8adb5ddab6f8e3f491ac63566a7d5002cc7ed73901f72057943fa71ae1ae"
|
|
|
1162
1162
|
|
|
1163
1163
|
[[package]]
|
|
1164
1164
|
name = "pyo3"
|
|
1165
|
-
version = "0.
|
|
1165
|
+
version = "0.24.2"
|
|
1166
1166
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1167
|
-
checksum = "
|
|
1167
|
+
checksum = "e5203598f366b11a02b13aa20cab591229ff0a89fd121a308a5df751d5fc9219"
|
|
1168
1168
|
dependencies = [
|
|
1169
1169
|
"cfg-if",
|
|
1170
1170
|
"indoc",
|
|
@@ -1180,9 +1180,9 @@ dependencies = [
|
|
|
1180
1180
|
|
|
1181
1181
|
[[package]]
|
|
1182
1182
|
name = "pyo3-async-runtimes"
|
|
1183
|
-
version = "0.
|
|
1183
|
+
version = "0.24.0"
|
|
1184
1184
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1185
|
-
checksum = "
|
|
1185
|
+
checksum = "dd0b83dc42f9d41f50d38180dad65f0c99763b65a3ff2a81bf351dd35a1df8bf"
|
|
1186
1186
|
dependencies = [
|
|
1187
1187
|
"futures",
|
|
1188
1188
|
"once_cell",
|
|
@@ -1193,9 +1193,9 @@ dependencies = [
|
|
|
1193
1193
|
|
|
1194
1194
|
[[package]]
|
|
1195
1195
|
name = "pyo3-build-config"
|
|
1196
|
-
version = "0.
|
|
1196
|
+
version = "0.24.2"
|
|
1197
1197
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1198
|
-
checksum = "
|
|
1198
|
+
checksum = "99636d423fa2ca130fa5acde3059308006d46f98caac629418e53f7ebb1e9999"
|
|
1199
1199
|
dependencies = [
|
|
1200
1200
|
"once_cell",
|
|
1201
1201
|
"target-lexicon",
|
|
@@ -1203,9 +1203,9 @@ dependencies = [
|
|
|
1203
1203
|
|
|
1204
1204
|
[[package]]
|
|
1205
1205
|
name = "pyo3-ffi"
|
|
1206
|
-
version = "0.
|
|
1206
|
+
version = "0.24.2"
|
|
1207
1207
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1208
|
-
checksum = "
|
|
1208
|
+
checksum = "78f9cf92ba9c409279bc3305b5409d90db2d2c22392d443a87df3a1adad59e33"
|
|
1209
1209
|
dependencies = [
|
|
1210
1210
|
"libc",
|
|
1211
1211
|
"pyo3-build-config",
|
|
@@ -1213,9 +1213,9 @@ dependencies = [
|
|
|
1213
1213
|
|
|
1214
1214
|
[[package]]
|
|
1215
1215
|
name = "pyo3-macros"
|
|
1216
|
-
version = "0.
|
|
1216
|
+
version = "0.24.2"
|
|
1217
1217
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1218
|
-
checksum = "
|
|
1218
|
+
checksum = "0b999cb1a6ce21f9a6b147dcf1be9ffedf02e0043aec74dc390f3007047cecd9"
|
|
1219
1219
|
dependencies = [
|
|
1220
1220
|
"proc-macro2",
|
|
1221
1221
|
"pyo3-macros-backend",
|
|
@@ -1225,9 +1225,9 @@ dependencies = [
|
|
|
1225
1225
|
|
|
1226
1226
|
[[package]]
|
|
1227
1227
|
name = "pyo3-macros-backend"
|
|
1228
|
-
version = "0.
|
|
1228
|
+
version = "0.24.2"
|
|
1229
1229
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1230
|
-
checksum = "
|
|
1230
|
+
checksum = "822ece1c7e1012745607d5cf0bcb2874769f0f7cb34c4cde03b9358eb9ef911a"
|
|
1231
1231
|
dependencies = [
|
|
1232
1232
|
"heck",
|
|
1233
1233
|
"proc-macro2",
|
|
@@ -1649,9 +1649,9 @@ checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417"
|
|
|
1649
1649
|
|
|
1650
1650
|
[[package]]
|
|
1651
1651
|
name = "target-lexicon"
|
|
1652
|
-
version = "0.
|
|
1652
|
+
version = "0.13.5"
|
|
1653
1653
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1654
|
-
checksum = "
|
|
1654
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
1655
1655
|
|
|
1656
1656
|
[[package]]
|
|
1657
1657
|
name = "thiserror"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "ferogram-py"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.3"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
description = "Python bindings for ferogram (Rust MTProto)"
|
|
6
6
|
license = "MIT OR Apache-2.0"
|
|
@@ -12,8 +12,8 @@ crate-type = ["cdylib"]
|
|
|
12
12
|
|
|
13
13
|
[dependencies]
|
|
14
14
|
ferogram = { git = "https://github.com/ankit-chaubey/ferogram", branch = "main" }
|
|
15
|
-
pyo3 = { version = "0.
|
|
16
|
-
pyo3-async-runtimes = { version = "0.
|
|
15
|
+
pyo3 = { version = "0.24", features = ["extension-module", "abi3-py312"] }
|
|
16
|
+
pyo3-async-runtimes = { version = "0.24", 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
|
|
19
19
|
# to avoid a duplicate-crate version conflict (crates.io vs git).
|
|
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
|
|
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
|