Skip to content

Commit

Permalink
Alternative fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Nov 26, 2024
1 parent a532543 commit 1263c85
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
5 changes: 1 addition & 4 deletions rust/conn_pool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
workspace = true

[features]
python_extension = ["pyo3/extension-module"]
python_extension = ["pyo3"]
optimizer = ["genetic_algorithm", "lru", "rand", "statrs", "anyhow", "tokio/test-util"]

[dependencies]
Expand Down Expand Up @@ -51,9 +51,6 @@ statrs = "0.17.1"
rand = "0.8.5"

[lib]
crate-type = ["lib", "cdylib"]
name = "conn_pool"
path = "src/lib.rs"

[[bin]]
name = "optimizer"
Expand Down
5 changes: 1 addition & 4 deletions rust/http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
workspace = true

[features]
python_extension = ["pyo3/extension-module"]
python_extension = ["pyo3"]

[dependencies]
pyo3 = { workspace = true, optional = true }
Expand All @@ -32,6 +32,3 @@ tokio = { workspace = true, features = ["test-util"] }
rstest = "0.23"

[lib]
crate-type = ["lib", "cdylib"]
name = "http"
path = "src/lib.rs"
4 changes: 1 addition & 3 deletions rust/pgrust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"
workspace = true

[features]
python_extension = ["pyo3/extension-module", "pyo3/serde"]
python_extension = ["pyo3/serde"]
optimizer = []

[dependencies]
Expand Down Expand Up @@ -69,5 +69,3 @@ version = "1"
features = ["macros", "rt-multi-thread", "time", "test-util"]

[lib]
crate-type = ["lib", "cdylib"]
path = "src/lib.rs"
2 changes: 0 additions & 2 deletions rust/pyo3_util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ scopeguard = "1"
thiserror = "1"

[lib]
crate-type = ["lib", "cdylib"]
path = "src/lib.rs"

0 comments on commit 1263c85

Please sign in to comment.