Skip to content

Commit 49a7a67

Browse files
committed
chore: regenerated with alef v0.19.4
Bumped alef pre-commit hook v0.19.2 -> v0.19.4 and re-ran the full alef:generate pipeline (generate + stubs + scaffold + readme + sync + e2e + docs). All prek hooks pass.
1 parent cdae280 commit 49a7a67

39 files changed

Lines changed: 3013 additions & 2690 deletions

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ repos:
258258
exclude: ^(test_apps/|e2e/java/)
259259
# Alef: verify bindings and sync versions.
260260
- repo: https://github.com/kreuzberg-dev/alef
261-
rev: v0.19.2
261+
rev: v0.19.4
262262
hooks:
263263
- id: alef-verify
264264
- id: alef-sync-versions

alef.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[workspace]
2-
alef_version = "0.19.2"
2+
alef_version = "0.19.4"
33
languages = [
44
"python",
55
"node",

crates/html-to-markdown-ffi/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ keywords = ["html", "markdown", "converter"]
99
categories = ["text-processing"]
1010
repository = "https://github.com/kreuzberg-dev/html-to-markdown"
1111

12-
[lib]
13-
crate-type = ["cdylib", "staticlib"]
14-
15-
[dependencies]
16-
html-to-markdown-rs = { path = "../html-to-markdown", version = "3.5.0-rc.2", features = ["full", "metadata", "visitor", "serde", "inline-images"] }
17-
serde_json = "1"
18-
tokio = { version = "1", features = ["full"] }
19-
async-trait = "0.1"
20-
2112
# `serde_json` and `tokio` are emitted unconditionally above so the manifest
2213
# is stable across regens (and so the C FFI codegen can pull them in when an
2314
# async / Result-typed function appears in the API surface), but for umbrella
@@ -29,9 +20,18 @@ async-trait = "0.1"
2920
[package.metadata.cargo-machete]
3021
ignored = ["serde_json", "tokio", "async-trait"]
3122

23+
[lib]
24+
crate-type = ["cdylib", "staticlib"]
25+
3226
[features]
3327
default = []
3428

29+
[dependencies]
30+
async-trait = "0.1"
31+
html-to-markdown-rs = { path = "../html-to-markdown", version = "3.5.0-rc.2", features = ["full", "metadata", "visitor", "serde", "inline-images"] }
32+
serde_json = "1"
33+
tokio = { version = "1", features = ["full"] }
34+
3535
[build-dependencies]
3636
cbindgen = "0.29"
3737

crates/html-to-markdown-node/Cargo.toml

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/html-to-markdown-php/Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@ readme = false
88
keywords = ["html", "markdown", "converter"]
99
categories = ["text-processing"]
1010

11-
[lib]
12-
crate-type = ["cdylib"]
13-
14-
[dependencies]
15-
html-to-markdown-rs = { version = "3.5.0-rc.2", path = "../html-to-markdown", features = ["full", "metadata", "visitor", "serde", "inline-images"] }
16-
ext-php-rs = "0.15"
17-
serde = { version = "1", features = ["derive"] }
18-
serde_json = "1"
19-
tokio = { version = "1", features = ["full"] }
20-
async-trait = "0.1"
21-
2211
# `serde_json` and `tokio` are emitted unconditionally above so the manifest
2312
# is stable across regens, but for umbrella crates with no async fns and no
2413
# JSON-marshalled return types they are genuinely unused. The conditional
@@ -28,5 +17,16 @@ async-trait = "0.1"
2817
[package.metadata.cargo-machete]
2918
ignored = ["serde_json", "tokio", "async-trait"]
3019

20+
[lib]
21+
crate-type = ["cdylib"]
22+
3123
[features]
3224
extension-module = []
25+
26+
[dependencies]
27+
async-trait = "0.1"
28+
ext-php-rs = "0.15"
29+
html-to-markdown-rs = { version = "3.5.0-rc.2", path = "../html-to-markdown", features = ["full", "metadata", "visitor", "serde", "inline-images"] }
30+
serde = { version = "1", features = ["derive"] }
31+
serde_json = "1"
32+
tokio = { version = "1", features = ["full"] }

crates/html-to-markdown-py/Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,6 @@ readme = false
88
keywords = ["html", "markdown", "converter"]
99
categories = ["text-processing"]
1010

11-
[lib]
12-
name = "_html_to_markdown"
13-
crate-type = ["cdylib"]
14-
15-
[dependencies]
16-
html-to-markdown-rs = { version = "3.5.0-rc.2", path = "../html-to-markdown", features = ["full", "metadata", "visitor", "serde", "inline-images"] }
17-
pyo3 = { version = "0.28" }
18-
pyo3-async-runtimes = { version = "0.28", features = ["tokio-runtime"] }
19-
serde = { version = "1", features = ["derive"] }
20-
serde_json = "1"
21-
async-trait = "0.1"
22-
tokio = { version = "1", features = ["rt-multi-thread"] }
23-
2411
# `pyo3-async-runtimes` and `serde_json` are emitted unconditionally above so
2512
# the manifest is stable across regens, but for umbrella crates with no
2613
# async fns or no JSON-marshalled return types they are genuinely unused.
@@ -30,5 +17,18 @@ tokio = { version = "1", features = ["rt-multi-thread"] }
3017
[package.metadata.cargo-machete]
3118
ignored = ["pyo3-async-runtimes", "serde_json", "async-trait", "tokio"]
3219

20+
[lib]
21+
name = "_html_to_markdown"
22+
crate-type = ["cdylib"]
23+
3324
[features]
3425
extension-module = ["pyo3/extension-module", "pyo3/abi3-py310"]
26+
27+
[dependencies]
28+
async-trait = "0.1"
29+
html-to-markdown-rs = { version = "3.5.0-rc.2", path = "../html-to-markdown", features = ["full", "metadata", "visitor", "serde", "inline-images"] }
30+
pyo3 = { version = "0.28" }
31+
pyo3-async-runtimes = { version = "0.28", features = ["tokio-runtime"] }
32+
serde = { version = "1", features = ["derive"] }
33+
serde_json = "1"
34+
tokio = { version = "1", features = ["rt-multi-thread"] }

crates/html-to-markdown-py/src/pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
build-backend = "maturin"
3-
requires = [ "maturin>=1.0,<2.0" ]
3+
requires = [ "maturin>=1,<2" ]
44

55
[project]
66
name = "html-to-markdown"
@@ -20,8 +20,9 @@ classifiers = [
2020
"Programming Language :: Python :: 3.14",
2121
]
2222
urls.repository = "https://github.com/kreuzberg-dev/html-to-markdown"
23+
2324
[dependency-groups]
24-
dev = [ "mypy>=1.19.0", "ruff>=0.14.8" ]
25+
dev = [ "mypy>=1.19", "ruff>=0.14.8" ]
2526

2627
[tool.maturin]
2728
module-name = "html_to_markdown._html_to_markdown"
@@ -34,8 +35,8 @@ python-packages = [ "html_to_markdown" ]
3435
[tool.ruff]
3536
target-version = "py310"
3637
line-length = 120
37-
format.docstring-code-format = true
3838
format.docstring-code-line-length = 120
39+
format.docstring-code-format = true
3940
lint.select = [ "ALL" ]
4041
lint.ignore = [
4142
"ANN401",
@@ -62,8 +63,7 @@ lint.ignore = [
6263
"TD",
6364
"TRY",
6465
]
65-
lint.mccabe.max-complexity = 15
66-
lint.per-file-ignores."tests/**" = [ "ANN", "D103", "PLR2004", "S101" ]
66+
lint.per-file-ignores."html_to_markdown/__init__.py" = [ "I001" ]
6767
# The alef Python codegen still emits cosmetic warnings on the wrapper
6868
# modules: api.py keeps the legacy `from typing import AsyncIterator` and a
6969
# single-line import block, options.py carries # noqa: TC001 / F401 markers
@@ -72,7 +72,8 @@ lint.per-file-ignores."tests/**" = [ "ANN", "D103", "PLR2004", "S101" ]
7272
# the codegen is updated to emit ruff-clean output.
7373
lint.per-file-ignores."html_to_markdown/api.py" = [ "F401", "I001", "UP035" ]
7474
lint.per-file-ignores."html_to_markdown/options.py" = [ "F401", "RUF100" ]
75-
lint.per-file-ignores."html_to_markdown/__init__.py" = [ "I001" ]
75+
lint.per-file-ignores."tests/**" = [ "ANN", "D103", "PLR2004", "S101" ]
76+
lint.mccabe.max-complexity = 15
7677
lint.pydocstyle.convention = "google"
7778
lint.pylint.max-args = 10
7879
lint.pylint.max-branches = 15

0 commit comments

Comments
 (0)