outlines-core 0.2.0

Structured Generation
Documentation
[[bin]]
bench = false
name = "convert-json-schema"
path = "src/bin/convert-json-schema.rs"
test = false

[dependencies.bincode]
version = "2.0.0-rc.3"

[dependencies.hf-hub]
version = "=0.3.2"

[dependencies.once_cell]
version = "1.20"

[dependencies.pyo3]
features = ["extension-module"]
optional = true
version = "0.22.0"

[dependencies.regex]
version = "1.10.6"

[dependencies.regex-automata]
version = "0.4.9"

[dependencies.rustc-hash]
version = "2.1.0"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde-pyobject]
version = "0.4.0"

[dependencies.serde_json]
features = ["preserve_order"]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokenizers]
features = ["http"]
version = "=0.20.3"

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

[lib]
crate-type = ["cdylib", "rlib"]
name = "outlines_core"
path = "src/lib.rs"

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(tarpaulin_include)"]
level = "warn"
priority = 0

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Structured Generation"
edition = "2021"
license = "Apache-2.0"
name = "outlines-core"
readme = "README.md"
repository = "https://github.com/dottxt-ai/outlines-core"
rust-version = "1.71.1"
version = "0.2.0"

[package.metadata.scripts]
build-python-extension = "python setup.py build_rust --inplace --debug"
build-python-extension-release = "python setup.py build_rust --inplace --release"

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