Skip to content

Commit

Permalink
Update and cleanup a bunch of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cberner committed Sep 8, 2024
1 parent 466752a commit b8a6183
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
RUSTFLAGS: --deny warnings

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Cache
id: rust-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -36,9 +36,9 @@ jobs:
if: runner.os != 'Windows'

- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"

- uses: actions-rs/toolchain@v1
with:
Expand Down
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ exclude = ["fuzz/"]
crate-type = ["cdylib", "rlib"]

[build-dependencies]
pyo3-build-config = { version = "0.20.0", optional = true }
pyo3-build-config = { version = "0.22.0", optional = true }

[dependencies]
log = { version = "0.4.17", optional = true }
pyo3 = { version = "0.20.0", features=["extension-module", "abi3-py37"], optional = true }
pyo3 = { version = "0.22.0", features=["extension-module", "abi3-py37"], optional = true }

[target.'cfg(unix)'.dependencies]
libc = "0.2.104"
Expand All @@ -36,18 +36,18 @@ serde = { version = "1.0", features = ["derive"] }
bincode = "1.3.3"
walkdir = "2.5.0"
byte-unit = "=5.0.4"
fastrand = "2.0.0"
sled = "0.34.7"
libc = "0.2.99"

# Just benchmarking dependencies
# Just benchmarking dependencies, which don't build on wasi
[target.'cfg(not(target_os = "wasi"))'.dev-dependencies]
# Pinned to compatibility with MSRV
ctrlc = "=3.2.3"
fastrand = "2.0.0"
heed = "0.20"
sanakirja = "=1.4.1"
sanakirja-core = "=1.4.1"
sled = "0.34.7"
rocksdb = "0.22.0"
libc = "0.2.99"
comfy-table = "7.0.1"

[target.'cfg(target_os = "linux")'.dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/python.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use pyo3::prelude::*;

#[pymodule]
pub fn redb(_py: Python, _m: &PyModule) -> PyResult<()> {
pub fn redb(_m: &Bound<'_, PyModule>) -> PyResult<()> {
Ok(())
}

0 comments on commit b8a6183

Please sign in to comment.