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
93 changes: 46 additions & 47 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ name = "cedarpy"
crate-type = ["cdylib"]

[dependencies]
pyo3 = "0.19.0"
pyo3 = "0.27.0"
anyhow = "1.0"
cedar-policy = "~4.7.0"
cedar-policy-cli = "~4.7.0"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["maturin==1.7.8"]
requires = ["maturin>=1.8,<2"]
build-backend = "maturin"

[project]
Expand All @@ -17,7 +17,7 @@ dynamic = ["version"]

[project.optional-dependencies]
dev = [
'maturin==1.7.8',
'maturin>=1.8,<2',
'parameterized==0.9.0',
# pin pip because pip 24 does not seem to be compatible with pip-tools 6.13 and `make fresh-requirements` breaks
'pip==23.1.2',
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ fn load_entities(entities_str: String, schema: Option<&Schema>) -> Result<Entiti

/// A Python module implemented in Rust.
#[pymodule]
fn _internal(_py: Python, m: &PyModule) -> PyResult<()> {
fn _internal(_py: Python, m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_function(wrap_pyfunction!(echo, m)?)?;
m.add_function(wrap_pyfunction!(is_authorized, m)?)?;
m.add_function(wrap_pyfunction!(is_authorized_batch, m)?)?;
Expand Down
Loading