Skip to content

Commit

Permalink
move pyo3 to be behind feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed May 6, 2024
1 parent ab3e82c commit 61e747a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bindings/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rookie-rs/api",
"version": "0.0.1-beta.1",
"version": "0.0.1-beta.2",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ crate-type = ["cdylib"]
[dependencies]
pyo3 = "0.20.3"
pyo3-log = "0.9.0"
rookie = { path = "../../rookie-rs" }
rookie = { path = "../../rookie-rs", features = ["pyo3"] }
6 changes: 5 additions & 1 deletion rookie-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ aes = "0.8"
aes-gcm = "0.10"
byteorder = "1"
cbc = "0.1"
eyre = { version = "0.6.12", features = ["pyo3"] }
eyre = { version = "0.6.12" }
glob = "0.3"
log = "0.4"
lz4_flex = "0.11"
Expand All @@ -32,6 +32,10 @@ serde_json = "1"
url = "2"
zvariant = "3"

[features]
default = []
pyo3 = ["eyre/pyo3"]

[target.'cfg(unix)'.dependencies]
pbkdf2 = "0.12"
sha1 = "0.10"
Expand Down

0 comments on commit 61e747a

Please sign in to comment.