baml-sys 0.218.0

BAML FFI bindings with runtime dynamic library loading
Documentation
[build-dependencies]

[dependencies.hex]
version = "0.4"

[dependencies.libc]
version = "0.2"

[dependencies.libloading]
version = "0.8"

[dependencies.once_cell]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.ureq]
default-features = false
features = ["tls"]
version = "2"

[features]
default = ["download"]
download = []
no-download = []

[lib]
doctest = false
name = "baml_sys"
path = "src/lib.rs"

[lints.clippy]
char_lit_as_u8 = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
dbg_macro = "deny"
debug_assert_with_mut_call = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
get_unwrap = "warn"
if_not_else = "allow"
implicit_hasher = "allow"
large_stack_arrays = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_continue = "allow"
needless_raw_string_hashes = "allow"
print_stderr = "deny"
print_stdout = "deny"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_clone = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
single_match_else = "allow"
too_many_lines = "allow"
unnecessary_debug_formatting = "allow"
unused_peekable = "warn"

[lints.clippy.pedantic]
level = "warn"
priority = -2

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "warn"

[package]
authors = ["Boundary <contact@boundaryml.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["external-ffi-bindings"]
description = "BAML FFI bindings with runtime dynamic library loading"
documentation = "https://docs.boundaryml.com"
edition = "2021"
homepage = "https://github.com/BoundaryML/baml"
keywords = ["baml", "boundaryml", "boundary", "llm", "programming-language"]
license = "Apache-2.0"
links = "baml_cffi"
name = "baml-sys"
readme = "README.md"
repository = "https://github.com/BoundaryML/baml"
rust-version = "1.70"
version = "0.218.0"

[target."cfg(windows)".dependencies.windows-sys]
features = ["Win32_Foundation", "Win32_System_LibraryLoader"]
version = "0.52"

[[test]]
name = "integration"
path = "tests/integration.rs"