Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rustflags = ["-Ccontrol-flow-guard", "-Ctarget-feature=+crt-static"]

# -Clink-args=/DYNAMICBASE /CETCOMPAT: Enable "shadow stack" (https://learn.microsoft.com/en-us/cpp/build/reference/cetcompat)
[target.'cfg(all(target_os = "windows", any(target_arch = "i686", target_arch = "x86_64")))']
rustflags = ["-Clink-args=/DYNAMICBASE /CETCOMPAT"]
rustflags = ["-Clink-arg=/DYNAMICBASE", "-Clink-arg=/CETCOMPAT"]

[registries]

Expand Down
41 changes: 37 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ extends:
copy target\release\lepton_jpeg_util.pdb target\release\lepton_jpeg_util_avx2.pdb
set RUSTFLAGS=-Ccontrol-flow-guard -Ctarget-feature=+crt-static -Clink-args=/DYNAMICBASE -Clink-args=/CETCOMPAT
cargo build --workspace --locked --release 2>&1
rd /s /q target\release\build

displayName: 'Build Release'

Expand Down
3 changes: 2 additions & 1 deletion dll/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[package]
name = "lepton_jpeg_dll"
version = "0.5.6"
version = "0.5.7"
edition = "2024"
authors = ["Kristof Roomp <kristofr@microsoft.com>"]

[dependencies]
lepton_jpeg = { path = "../lib" }
rayon = "1"
msvc_spectre_libs = "0.1.3"

[dev-dependencies]
rstest = "0.22"
Expand Down
1 change: 0 additions & 1 deletion dll/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*--------------------------------------------------------------------------------------------*/

#![forbid(trivial_numeric_casts)]
#![forbid(unused_crate_dependencies)]

use std::{
collections::VecDeque,
Expand Down
2 changes: 1 addition & 1 deletion lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lepton_jpeg"
version = "0.5.6"
version = "0.5.7"
edition = "2024"
authors = ["Kristof Roomp <kristofr@microsoft.com>"]

Expand Down
2 changes: 1 addition & 1 deletion package/Lepton.Jpeg.Rust.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>Lepton.Jpeg.Rust</id>
<version>0.5.5.7</version>
<version>0.5.7.0</version>
<title>Lepton JPEG Compression Rust version binaries and libraries</title>
<authors>kristofr</authors>
<owners>kristofr</owners>
Expand Down
2 changes: 1 addition & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lepton_jpeg_python"
version = "0.5.5"
version = "0.5.7"
edition = "2024"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "lepton_jpeg_python"
version = "0.5.5"
version = "0.5.7"
description = "Rust port of the Lepton JPEG compression library"
authors = [{ name = "Kristof Roomp ", email = "kristofr@gmail.com" }]
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion util/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lepton_jpeg_util"
version = "0.5.5"
version = "0.5.7"
edition = "2024"
authors = ["Kristof Roomp <kristofr@microsoft.com>"]

Expand All @@ -15,6 +15,7 @@ simple_logger ="5.0"
rayon = "1"
uuid = { version = "1.19", features = ["v4"] }
winpipe = "0.1"
msvc_spectre_libs = "0.1.3"

[[bin]]
name="lepton_jpeg_util"
Expand Down