Skip to content

Commit c406877

Browse files
committed
fix: update release workflow runners
1 parent c4978cd commit c406877

2 files changed

Lines changed: 48 additions & 45 deletions

File tree

workspaces/rust/klaw-dbase/Cargo.toml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,11 @@ serde = { version = "1.0", features = ["derive"] }
5656
serde_json = { version = "1.0" }
5757
thiserror = "2.0"
5858
anyhow = "1.0.98"
59-
reqwest = { version = "0.12", default-features = false, features = ["json", "stream", "rustls-tls"] }
60-
async-trait = "0.1"
6159
lazy_static = "1.4"
6260

6361
regex = "1.11.1"
6462

65-
66-
url = { version = "2.5.4", features = ["serde"] }
67-
suppaftp = { version = "6.3.0", features = ["async-rustls"] }
6863
tempfile = "3.20.0"
69-
tokio = { version = "1.45.1", features = ["full"] }
70-
tokio-rustls = "0.26.2"
71-
futures = "0.3.31"
7264
dbase = { version = "0.6.1", features = [
7365
"encoding_rs",
7466
"chrono",
@@ -84,3 +76,8 @@ constriction = "0.4.1"
8476
probability = "0.20.3"
8577
indicatif = { version = "0.18.0", features = ["rayon"] }
8678
console = "0.16.1"
79+
80+
[profile.release]
81+
lto = "thin"
82+
strip = true
83+
codegen-units = 1
Lines changed: 43 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,69 @@
11
[project]
2-
name = "klaw-dbase"
3-
version = "0.1.0"
2+
name = "klaw-dbase"
3+
version = "0.1.0"
44
description = "Fast Polars-based reading/writing of dBase/DBF files with async I/O and compression support"
5-
readme = "README.md"
6-
license = { text = "MIT" }
7-
authors = [{ name = "Raphael Vaz", email = "raphael@wrath.codes" }]
5+
readme = "README.md"
6+
license = { text = "MIT" }
7+
authors = [{ name = "Raphael Vaz", email = "raphael@wrath.codes" }]
88
classifiers = [
9-
"Programming Language :: Rust",
10-
"Programming Language :: Python :: Implementation :: CPython",
11-
"Programming Language :: Python :: 3",
12-
"Programming Language :: Python :: 3.13",
13-
"License :: OSI Approved :: MIT License",
14-
"Operating System :: POSIX :: Linux",
15-
"Operating System :: MacOS",
16-
"Operating System :: Microsoft :: Windows",
9+
"Programming Language :: Rust",
10+
"Programming Language :: Python :: Implementation :: CPython",
11+
"Programming Language :: Python :: 3",
12+
"Programming Language :: Python :: 3.13",
13+
"License :: OSI Approved :: MIT License",
14+
"Operating System :: POSIX :: Linux",
15+
"Operating System :: MacOS",
16+
"Operating System :: Microsoft :: Windows",
17+
]
18+
keywords = [
19+
"polars",
20+
"dbase",
21+
"dbc",
22+
"sus",
23+
"dbf",
24+
"dataframe",
25+
"datasus",
26+
"klaw",
1727
]
18-
keywords = ["polars", "dbase", "dbf", "dataframe", "datasus", "klaw"]
1928

2029
requires-python = ">=3.13"
21-
dependencies = [
22-
"polars-lts-cpu>=1.33.1",
23-
"pyarrow>=15.0.0",
24-
"psutil>=6.1.0",
25-
]
30+
dependencies = ["polars-lts-cpu>=1.33.1", "pyarrow>=15.0.0", "psutil>=6.1.0"]
2631

2732
[project.urls]
28-
Homepage = "https://github.com/wrath-codes/klaw"
29-
Repository = "https://github.com/wrath-codes/klaw"
30-
Issues = "https://github.com/wrath-codes/klaw/issues"
33+
Homepage = "https://github.com/wrath-codes/klaw"
34+
Repository = "https://github.com/wrath-codes/klaw"
35+
Issues = "https://github.com/wrath-codes/klaw/issues"
3136
Documentation = "https://github.com/wrath-codes/klaw/tree/main/workspaces/rust/klaw-dbase"
3237

3338
[dependency-groups]
3439
# CI: minimal deps for testing
3540
test = [
36-
"maturin>=1.9.4",
37-
"pytest>=8.3.3",
38-
"pytest-asyncio>=0.24.0",
39-
"pytest-mock>=3.14.0",
40-
"logot[loguru]>=1.3.0",
41+
"maturin>=1.9.4",
42+
"pytest>=8.3.3",
43+
"pytest-asyncio>=0.24.0",
44+
"pytest-mock>=3.14.0",
45+
"logot[loguru]>=1.3.0",
4146
]
4247
# Local dev: includes test + extras
4348
dev = [
44-
{ include-group = "test" },
45-
"mypy>=1.10.1",
46-
"loguru-mypy>=0.0.4",
47-
"maturin-import-hook>=0.3.0",
48-
"pytest-icdiff>=0.9",
49-
"pytest-xdist>=3.6.1",
50-
"pytest-randomly>=3.16.0",
51-
"pytest-sugar>=1.0.0",
49+
{ include-group = "test" },
50+
"mypy>=1.10.1",
51+
"loguru-mypy>=0.0.4",
52+
"maturin-import-hook>=0.3.0",
53+
"pytest-icdiff>=0.9",
54+
"pytest-xdist>=3.6.1",
55+
"pytest-randomly>=3.16.0",
56+
"pytest-sugar>=1.0.0",
5257
]
5358

5459
# [project.scripts]
5560
# eco-rust = "eco_rust:main"
5661

5762
[tool.maturin]
5863
module-name = "klaw_dbase._dbase_rs"
59-
features = ["pyo3/extension-module"]
64+
features = ["pyo3/extension-module"]
65+
exclude = ["data/**", "tests/**", ".benchmarks/**", ".pytest_cache/**"]
6066

6167
[build-system]
62-
requires = ["maturin>=1.0,<2.0"]
68+
requires = ["maturin>=1.0,<2.0"]
6369
build-backend = "maturin"

0 commit comments

Comments
 (0)