liter_llm 2.2.0 → 2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +15 -2
- data/ext/liter_llm_rb/native/Cargo.lock +126 -117
- data/ext/liter_llm_rb/native/Cargo.toml +7 -8
- data/ext/liter_llm_rb/src/lib.rs +511 -1
- data/lib/liter_llm/version.rb +2 -2
- data/sig/types.rbs +37 -3
- metadata +7 -4
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# This file is auto-generated by alef — DO NOT EDIT.
|
|
2
|
-
# alef:hash:
|
|
2
|
+
# alef:hash:4bf229f3e91bce1a56f22362e31858efc9059e42be797d7c7eef2b5f7b5fc653
|
|
3
3
|
# To regenerate: alef generate
|
|
4
4
|
# To verify freshness: alef verify
|
|
5
5
|
|
|
6
6
|
[package]
|
|
7
7
|
name = "liter-llm-rb"
|
|
8
|
-
version = "2.2.
|
|
8
|
+
version = "2.2.4"
|
|
9
9
|
edition = "2024"
|
|
10
|
+
authors = ["Na'aman Hirschfeld <naaman@xberg.io>", "Tobias Perlstein <tobias@xberg.io>"]
|
|
10
11
|
license = "MIT"
|
|
11
12
|
description = "Universal LLM API client with Rust-powered polyglot bindings."
|
|
12
13
|
readme = false
|
|
@@ -31,7 +32,7 @@ wasm-http = ["liter-llm/wasm-http"]
|
|
|
31
32
|
|
|
32
33
|
[dependencies]
|
|
33
34
|
futures = "0.3"
|
|
34
|
-
liter-llm = { version = "2.2.
|
|
35
|
+
liter-llm = { version = "2.2.4", features = ["native-http", "full"] }
|
|
35
36
|
magnus = "0.9"
|
|
36
37
|
rb-sys = ">=0.9.130, <0.10"
|
|
37
38
|
serde = { version = "1", features = ["derive"] }
|
|
@@ -39,11 +40,9 @@ serde_json = "1"
|
|
|
39
40
|
tokio = { version = "1", features = ["rt-multi-thread"] }
|
|
40
41
|
|
|
41
42
|
# This crate deliberately does not use `[lints]` / `workspace = true`: its C-ABI /
|
|
42
|
-
# PyO3 / napi / ext-php-rs / NIF boundary requires `unsafe` code
|
|
43
|
-
#
|
|
44
|
-
#
|
|
45
|
-
# instead carries the subset of the workspace's deny-by-default lint policy this crate
|
|
46
|
-
# can actually satisfy. ~keep
|
|
43
|
+
# PyO3 / napi / ext-php-rs / NIF boundary requires `unsafe` code. Local lint tables
|
|
44
|
+
# avoid inheriting workspace policies that could reject these boundaries, and select
|
|
45
|
+
# the lints this binding can actually satisfy. ~keep
|
|
47
46
|
[lints.clippy]
|
|
48
47
|
dbg_macro = "deny"
|
|
49
48
|
print_stderr = "deny"
|