ferogram 0.1.2__tar.gz → 0.1.4__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.4}/.github/workflows/publish.yml +6 -6
- {ferogram-0.1.2 → ferogram-0.1.4}/Cargo.lock +15 -15
- {ferogram-0.1.2 → ferogram-0.1.4}/Cargo.toml +3 -3
- {ferogram-0.1.2 → ferogram-0.1.4}/PKG-INFO +1 -1
- {ferogram-0.1.2 → ferogram-0.1.4}/pyproject.toml +1 -1
- {ferogram-0.1.2 → ferogram-0.1.4}/.gitignore +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/LICENSE-APACHE +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/LICENSE-MIT +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/README.md +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/examples/command_bot.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/examples/echo_bot.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/examples/raw_invoke.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/examples/send_hi.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/examples/send_media.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/examples/send_message.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/examples/update_handlers.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/examples/userbot.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/__init__.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/client.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/filters.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/logging.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/py.typed +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/__init__.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/api/__init__.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/api/functions.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/api/types.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/codegen.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/generated/__init__.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/generated/_tl_schema.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/generated/functions.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/generated/types.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw/tl.py +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/ferogram/raw_api.tl +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/src/auth.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/src/client.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/src/lib.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/src/message.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/src/raw.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/src/types.rs +0 -0
- {ferogram-0.1.2 → ferogram-0.1.4}/src/updates.rs +0 -0
|
@@ -38,7 +38,7 @@ jobs:
|
|
|
38
38
|
- uses: actions/checkout@v4
|
|
39
39
|
- uses: actions/setup-python@v5
|
|
40
40
|
with:
|
|
41
|
-
python-version: "3.
|
|
41
|
+
python-version: "3.13"
|
|
42
42
|
- name: Cache Rust build artifacts
|
|
43
43
|
uses: Swatinem/rust-cache@v2
|
|
44
44
|
with:
|
|
@@ -70,7 +70,7 @@ jobs:
|
|
|
70
70
|
- uses: actions/checkout@v4
|
|
71
71
|
- uses: actions/setup-python@v5
|
|
72
72
|
with:
|
|
73
|
-
python-version: "3.
|
|
73
|
+
python-version: "3.13"
|
|
74
74
|
- name: Cache Rust build artifacts
|
|
75
75
|
uses: Swatinem/rust-cache@v2
|
|
76
76
|
with:
|
|
@@ -91,7 +91,7 @@ jobs:
|
|
|
91
91
|
- uses: actions/checkout@v4
|
|
92
92
|
- uses: actions/setup-python@v5
|
|
93
93
|
with:
|
|
94
|
-
python-version: "3.
|
|
94
|
+
python-version: "3.13"
|
|
95
95
|
- name: Cache Rust build artifacts
|
|
96
96
|
uses: Swatinem/rust-cache@v2
|
|
97
97
|
- uses: PyO3/maturin-action@v1
|
|
@@ -126,7 +126,7 @@ jobs:
|
|
|
126
126
|
|
|
127
127
|
- uses: actions/setup-python@v5
|
|
128
128
|
with:
|
|
129
|
-
python-version: "3.
|
|
129
|
+
python-version: "3.13"
|
|
130
130
|
|
|
131
131
|
- name: Setup Android NDK r26d
|
|
132
132
|
uses: nttld/setup-ndk@v1
|
|
@@ -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.
|
|
153
|
+
PYO3_CROSS_PYTHON_VERSION: "3.13"
|
|
154
154
|
run: |
|
|
155
155
|
NDK_BIN=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin
|
|
156
156
|
TARGET=${{ matrix.target }}
|
|
@@ -180,7 +180,7 @@ jobs:
|
|
|
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.
|
|
183
|
+
$NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.13.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.
|
|
350
|
+
version = "0.1.4"
|
|
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.4"
|
|
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-py313"] }
|
|
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
|