-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build maintenance, edition 2024 compatibility, MSRV 1.82
- Loading branch information
Showing
66 changed files
with
1,391 additions
and
717 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ authors = ["ijl <[email protected]>"] | |
description = "Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" | ||
edition = "2021" | ||
resolver = "2" | ||
rust-version = "1.72" | ||
rust-version = "1.82" | ||
license = "Apache-2.0 OR MIT" | ||
repository = "https://github.com/ijl/orjson" | ||
homepage = "https://github.com/ijl/orjson" | ||
|
@@ -14,8 +14,8 @@ keywords = ["fast", "json", "dataclass", "dataclasses", "datetime", "rfc", "8259 | |
include = [ | ||
"Cargo.toml", | ||
"CHANGELOG.md", | ||
"data", | ||
"include", | ||
"include/pyo3", | ||
"include/yyjson", | ||
"LICENSE-APACHE", | ||
"LICENSE-MIT", | ||
"pyproject.toml", | ||
|
@@ -71,7 +71,7 @@ uuid = { version = "1", default-features = false } | |
xxhash-rust = { version = "^0.8", default-features = false, features = ["xxh3"] } | ||
|
||
[build-dependencies] | ||
cc = { version = "1" } | ||
cc = { version = "=1.2.4" } # aarch64-linux-musl link errors | ||
pyo3-build-config = { path = "include/pyo3/pyo3-build-config" } | ||
version_check = { version = "0.9" } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1066,7 +1066,7 @@ No, it supports RFC 8259. | |
|
||
## Packaging | ||
|
||
To package orjson requires at least [Rust](https://www.rust-lang.org/) 1.72 | ||
To package orjson requires at least [Rust](https://www.rust-lang.org/) 1.82 | ||
and the [maturin](https://github.com/PyO3/maturin) build tool. The recommended | ||
build command is: | ||
|
||
|
@@ -1078,7 +1078,7 @@ It benefits from also having a C build environment to compile a faster | |
deserialization backend. See this project's `manylinux_2_28` builds for an | ||
example using clang and LTO. | ||
|
||
The project's own CI tests against `nightly-2024-11-22` and stable 1.72. It | ||
The project's own CI tests against `nightly-2025-01-07` and stable 1.72. It | ||
is prudent to pin the nightly version because that channel can introduce | ||
breaking changes. There is a significant performance benefit to using | ||
nightly. | ||
|
@@ -1101,5 +1101,5 @@ tests should be run as part of the build. It can be run with | |
|
||
## License | ||
|
||
orjson was written by ijl <<[email protected]>>, copyright 2018 - 2024, available | ||
orjson was written by ijl <<[email protected]>>, copyright 2018 - 2025, available | ||
to you under either the Apache 2 license or MIT license at your choice. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.