Skip to content

Commit 93e8847

Browse files
committed
adding pythonize and tokio to Cargo.toml
1 parent 13083a6 commit 93e8847

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

microbiorust-py/Cargo.toml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,28 @@ repository = "https://github.com/LCrossman/microBioRust"
1313
[lints.rust]
1414
unsafe_code = "forbid"
1515

16+
[target.aarch64-apple-darwin]
17+
# This 'Wl,-rpath' flag embeds the directory into the binary metadata
18+
rustflags = ["-C", "link-arg=-Wl,-rpath,/path/from/sysconfig/LIBDIR"]
19+
20+
[target.x86_64-apple-apple-darwin]
21+
rustflags = ["-C", "link-arg=-Wl,-rpath,/path/from/sysconfig/LIBDIR"]
22+
1623
[lib]
1724
name = "microbiorust"
1825
crate-type = ["cdylib", "rlib"]
1926

2027
[dependencies.pyo3]
2128
version = "0.25.0"
22-
features = ["auto-initialize"]
29+
features = ["auto-initialize", "abi3-py311"]
2330

2431
[features]
2532
default = []
2633
extension-module = ["pyo3/extension-module"]
2734

2835
[dependencies]
29-
microBioRust = { git = "https://github.com/LCrossman/microBioRust", branch = "main"}
36+
microBioRust = { path = "../microBioRust" }
3037
microBioRust-seqmetrics = { git = "https://github.com/LCrossman/microBioRust", branch = "main" }
38+
pythonize = "0.25"
39+
tokio = { version = "1.49.0", features = ["full"] }
3140

0 commit comments

Comments
 (0)