Skip to content

Commit

Permalink
Updated Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
kc611 committed Aug 22, 2024
1 parent cd8ae0f commit cbea933
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 16 deletions.
150 changes: 137 additions & 13 deletions Cargo.lock

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

14 changes: 11 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,20 @@ edition = "2021"
name = "outlines_core_rs"
crate-type = ["cdylib"]

[dependencies]
pyo3 = { version = "0.22.0", features = ["extension-module"] }

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
panic = 'abort'

[features]
default = []
e2e_experimental = []
python-bindings = ["pyo3"]

[dependencies.pyo3]
version = "0.21.1"
optional = true
# TODO: Use this
# pyo3 = "0.22.0"

0 comments on commit cbea933

Please sign in to comment.