Skip to content

Commit

Permalink
disable pyo3
Browse files Browse the repository at this point in the history
  • Loading branch information
dinmukhamedm committed Jul 27, 2024
1 parent bbb466a commit b47dda8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 106 deletions.
92 changes: 0 additions & 92 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions baml-lib/baml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ description.workspace = true

### pyo3 build configuration

[lib]
# The name of the native library. This is the name which will be used in Python to import the
# library (i.e. `import string_sum`). If you change this, you must also change the name of the
# `#[pymodule]` in `src/lib.rs`.
name = "lmnr_baml"
# "cdylib" is necessary to produce a shared library for Python to import from.
#
# Downstream Rust code (including code in `bin/`, `examples/`, and `tests/`) will not be able
# to `use lmnr_baml;` unless the "rlib" or "lib" crate type is also included, e.g.:
# crate-type = ["cdylib", "rlib"]
crate-type = ["cdylib", "lib"]
# [lib]
# # The name of the native library. This is the name which will be used in Python to import the
# # library (i.e. `import string_sum`). If you change this, you must also change the name of the
# # `#[pymodule]` in `src/lib.rs`.
# name = "lmnr_baml"
# # "cdylib" is necessary to produce a shared library for Python to import from.
# #
# # Downstream Rust code (including code in `bin/`, `examples/`, and `tests/`) will not be able
# # to `use lmnr_baml;` unless the "rlib" or "lib" crate type is also included, e.g.:
# # crate-type = ["cdylib", "rlib"]
# crate-type = ["cdylib", "lib"]

###

Expand All @@ -30,7 +30,7 @@ jsonish = { path = "../jsonish" }
baml-types = { path = "../baml-types" }
anyhow = "1.0"
either = "1.8.1"
pyo3 = { version = "0.22.2", features = ["extension-module"] }
# pyo3 = { version = "0.22.2", features = ["extension-module"] }

[dev-dependencies]
pretty_assertions = "1.4.0"
Expand All @@ -42,5 +42,5 @@ indoc.workspace = true
either = "1.8.1"
strip-ansi-escapes = "0.2.0"

[build-dependencies]
pyo3-build-config = "0.22.2"
# [build-dependencies]
# pyo3-build-config = "0.22.2"

0 comments on commit b47dda8

Please sign in to comment.