Skip to content

Commit c86b615

Browse files
committed
try shuffling default features around
1 parent 43639be commit c86b615

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ include = [
2626
]
2727

2828
[dependencies]
29-
pyo3 = "0.19.0"
29+
pyo3 = { version = "0.19.0", features = ["generate-import-lib", "num-bigint"] }
3030
regex = "1.6.0"
3131
strum = { version = "0.25.0", features = ["derive"] }
3232
strum_macros = "0.24.3"
@@ -53,7 +53,7 @@ extension-module = ["pyo3/extension-module"]
5353
auto-initialize = ["pyo3/auto-initialize"]
5454
# disabled for benchmarks since it makes microbenchmark performance more flakey
5555
mimalloc-allocator = ["mimalloc", "mimalloc/local_dynamic_tls"]
56-
default = ["pyo3/generate-import-lib", "pyo3/num-bigint"]
56+
default = []
5757

5858
[profile.release]
5959
lto = "fat"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ build-dev:
2626
.PHONY: build-prod
2727
build-prod:
2828
@rm -f pydantic_core/*.so
29-
cargo build --release --features extension-module --verbose
29+
cargo build --release --no-default-features --features extension-module --verbose
3030
@rm -f target/release/lib_pydantic_core.d
3131
@rm -f target/release/lib_pydantic_core.rlib
3232
@mv target/release/lib_pydantic_core.* pydantic_core/_pydantic_core.so

0 commit comments

Comments
 (0)