Skip to content

Commit d9951aa

Browse files
committed
Bump version to 0.3.8: Add musl/alpine compatibility for mimalloc
1 parent 5096e0c commit d9951aa

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.3.8] - 2026-02-11
9+
10+
### Added
11+
12+
- **musl/alpine compatibility** — added target-specific dependency for `mimalloc` on `musl` targets with the `local_dynamic_tls` feature enabled. This ensures stable support and prevents potential issues with thread-local storage when running in Alpine Linux containers (e.g., standard Elixir docker images).
13+
814
## [0.3.7] - 2026-02-03
915

1016
### Fixed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ File.stream!("huge.csv") |> CSV.parse_stream() # Bounded memory
8484

8585
```elixir
8686
def deps do
87-
[{:rusty_csv, "~> 0.3.6"}]
87+
[{:rusty_csv, "~> 0.3.8"}]
8888
end
8989
```
9090

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule RustyCSV.MixProject do
22
use Mix.Project
33

4-
@version "0.3.7"
4+
@version "0.3.8"
55
@source_url "https://github.com/jeffhuen/rustycsv"
66

77
def project do

native/rustycsv/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

native/rustycsv/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rustycsv"
3-
version = "0.3.7"
3+
version = "0.3.8"
44
authors = ["Jeff Huen"]
55
edition = "2021"
66

@@ -14,6 +14,9 @@ rustler = { git = "https://github.com/rusterlium/rustler.git", branch = "master"
1414
rayon = "1.10" # Data parallelism for parallel parsing
1515
mimalloc = { version = "0.1", default-features = false, optional = true }
1616

17+
[target.'cfg(target_env = "musl")'.dependencies]
18+
mimalloc = { version = "0.1", default-features = false, optional = true, features = ["local_dynamic_tls"] }
19+
1720
[features]
1821
default = ["mimalloc"]
1922
mimalloc = ["dep:mimalloc"]

0 commit comments

Comments
 (0)