@@ -11,7 +11,7 @@ license.workspace = true
1111
1212[features ]
1313capi = [" dep:rustpython-capi" , " threading" ]
14- default = [" threading" , " stdlib" , " stdio" , " importlib" , " ssl-rustls-aws-lc" , " host_env" , " mimalloc" , " doc" ]
14+ default = [" threading" , " stdlib" , " stdio" , " importlib" , " ssl-rustls-aws-lc" , " host_env" , " mimalloc" , " doc" , " ucd_3_2_0 " ]
1515doc = [" rustpython-vm/doc" , " rustpython-stdlib?/doc" ]
1616mimalloc = [" dep:mimalloc" ]
1717host_env = [" rustpython-vm/host_env" , " rustpython-stdlib?/host_env" ]
@@ -32,6 +32,7 @@ ssl-rustls-aws-lc-fips = ["ssl-rustls-aws-lc", "rustls/fips"]
3232ssl-openssl = [" ssl" , " rustpython-stdlib/ssl-openssl" ]
3333ssl-openssl-vendor = [" ssl-openssl" , " rustpython-stdlib/ssl-openssl-vendor" ]
3434tkinter = [" rustpython-stdlib/tkinter" ]
35+ ucd_3_2_0 = [" rustpython-stdlib?/ucd_3_2_0" ]
3536
3637[build-dependencies ]
3738winresource = " 0.1"
@@ -67,6 +68,13 @@ rustls-graviola = { workspace = true }
6768rustpython-stdlib = { workspace = true }
6869ruff_python_parser = { workspace = true }
6970
71+ # Only the criterion benchmarks below are measured. Without `bench = false`,
72+ # `cargo bench` (and `cargo codspeed build`) also builds the library and binary
73+ # unit-test harnesses with the LTO bench profile, adding a full extra link of
74+ # the interpreter that is never run.
75+ [lib ]
76+ bench = false
77+
7078[[bench ]]
7179name = " execution"
7280harness = false
@@ -78,6 +86,7 @@ harness = false
7886[[bin ]]
7987name = " rustpython"
8088path = " src/main.rs"
89+ bench = false
8190
8291[[example ]]
8392name = " custom_tls_providers"
@@ -183,7 +192,7 @@ rustpython-vm = { path = "crates/vm", default-features = false, version = "0.6.1
183192rustpython-pylib = { path = " crates/pylib" , version = " 0.6.1" }
184193rustpython-stdlib = { path = " crates/stdlib" , default-features = false , version = " 0.6.1" }
185194rustpython-sre_engine = { path = " crates/sre_engine" , version = " 0.6.1" }
186- rustpython-unicode = { path = " crates/unicode" , version = " 0.6.1" }
195+ rustpython-unicode = { path = " crates/unicode" , default-features = false , version = " 0.6.1" }
187196rustpython-wtf8 = { path = " crates/wtf8" , version = " 0.6.1" }
188197rustpython-doc = { path = " crates/doc" , version = " 0.6.1" }
189198
@@ -267,7 +276,7 @@ pkcs8 = "0.11"
267276proc-macro2 = " 1.0.105"
268277psm = " 0.1"
269278pymath = { git = " https://github.com/RustPython/pymath.git" , rev = " dd1e9a4cf26d68caf3b549c09476f52e356e16a3" , features = [" mul_add" , " malachite-bigint" , " complex" ] }
270- pyo3 = " 0.29 "
279+ pyo3 = " 0.30 "
271280quote = " 1.0.45"
272281radium = " 1.1.1"
273282rand = " 0.10"
0 commit comments