Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
3.11
3.12
3.13
3.14
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -88,6 +89,7 @@ jobs:
3.11
3.12
3.13
3.14
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -120,6 +122,7 @@ jobs:
3.11
3.12
3.13
3.14
architecture: ${{ matrix.platform.target }}
- name: Build wheels
uses: PyO3/maturin-action@v1
Expand Down Expand Up @@ -152,6 +155,7 @@ jobs:
3.11
3.12
3.13
3.14
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand Down
48 changes: 28 additions & 20 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ crate-type = ["cdylib"]

[dependencies]
gamedig = { version = "0.7.0", features = ["serde", "tls"] }
pyo3 = "0.24.2"
serde-pyobject = "0.6.1"
pyo3 = "0.26.0"
serde-pyobject = "0.7.0"
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries",
Expand Down
2 changes: 1 addition & 1 deletion src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn query(
port: Option<u16>,
timeout_settings: Option<HashMap<String, u16>>,
extra_settings: Option<&Bound<'_, PyDict>>,
) -> PyResult<PyObject> {
) -> PyResult<Py<PyAny>> {
let game = match rust_gamedig::GAMES.get(game_id) {
None => return Err(PyValueError::new_err(format!("Unknown game id: {game_id}"))),
Some(game) => game,
Expand Down