@@ -10,6 +10,7 @@ repository.workspace = true
1010license.workspace = true
1111
1212[features ]
13+ capi = [" dep:rustpython-capi" , " threading" ]
1314default = [" threading" , " stdlib" , " stdio" , " importlib" , " ssl-rustls" , " host_env" ]
1415host_env = [" rustpython-vm/host_env" , " rustpython-stdlib?/host_env" ]
1516importlib = [" rustpython-vm/importlib" ]
@@ -31,6 +32,7 @@ tkinter = ["rustpython-stdlib/tkinter"]
3132winresource = " 0.1"
3233
3334[dependencies ]
35+ rustpython-capi = { workspace = true , optional = true }
3436rustpython-compiler = { workspace = true }
3537rustpython-pylib = { workspace = true , optional = true }
3638rustpython-stdlib = { workspace = true , optional = true , features = [" compiler" ] }
@@ -140,6 +142,7 @@ repository = "https://github.com/RustPython/RustPython"
140142license = " MIT"
141143
142144[workspace .dependencies ]
145+ rustpython-capi = { path = " crates/capi" , version = " 0.5.0" }
143146rustpython-compiler-core = { path = " crates/compiler-core" , version = " 0.5.0" }
144147rustpython-compiler = { path = " crates/compiler" , version = " 0.5.0" }
145148rustpython-codegen = { path = " crates/codegen" , version = " 0.5.0" }
@@ -257,7 +260,6 @@ rustls-platform-verifier = "0.7"
257260rustyline = " 18"
258261serde = { package = " serde_core" , version = " 1.0.225" , default-features = false , features = [" alloc" ] }
259262schannel = " 0.1.29"
260- scoped-tls = " 1"
261263scopeguard = " 1"
262264sha-1 = " 0.10.0"
263265sha2 = " 0.10.2"
0 commit comments