Skip to content

Commit 726c9ec

Browse files
userFRMclaude
andcommitted
Switch to Apache-2.0 only license (like Aeron)
- Remove MIT license option, use Apache-2.0 exclusively - Delete LICENSE-MIT - Update all SPDX headers in 11 .rs files - Update README badge, license section - Update CHANGELOG Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 318d3bc commit 726c9ec

18 files changed

Lines changed: 18 additions & 40 deletions

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
137137
- Criterion benchmarks with `disruptor` v4.0.0 comparison
138138
- Market data example (4-topic fan-out, ~160M msg/s)
139139
- SPDX license headers on all source files
140-
- Dual license: MIT OR Apache-2.0
140+
- License: Apache-2.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.6.0"
44
edition = "2021"
55
rust-version = "1.70"
66
description = "Ultra-low-latency SPMC pub/sub using seqlock-stamped ring buffers. no_std compatible."
7-
license = "MIT OR Apache-2.0"
7+
license = "Apache-2.0"
88
keywords = ["pubsub", "spmc", "seqlock", "no_std", "zero-alloc"]
99
categories = ["concurrency", "no-std"]
1010
readme = "README.md"

LICENSE-MIT

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Crates.io](https://img.shields.io/crates/v/photon-ring.svg)](https://crates.io/crates/photon-ring)
44
[![docs.rs](https://docs.rs/photon-ring/badge.svg)](https://docs.rs/photon-ring)
5-
[![License](https://img.shields.io/crates/l/photon-ring.svg)](LICENSE-MIT)
5+
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE-APACHE)
66
[![no_std](https://img.shields.io/badge/no__std-compatible-brightgreen.svg)](https://docs.rs/photon-ring)
77

88
**Ultra-low-latency SPMC inter-thread messaging using seqlock-stamped ring buffers.**
@@ -396,5 +396,4 @@ cargo +nightly miri test --test correctness -- --test-threads=1
396396

397397
## License
398398

399-
Licensed under either of [Apache License, Version 2.0](LICENSE-APACHE) or
400-
[MIT License](LICENSE-MIT) at your option.
399+
Licensed under the [Apache License, Version 2.0](LICENSE-APACHE).

benches/rdtsc_oneway.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2026 Photon Ring Contributors
2-
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// SPDX-License-Identifier: Apache-2.0
33

44
// RDTSC-based one-way latency measurement.
55
//

benches/throughput.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2026 Photon Ring Contributors
2-
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// SPDX-License-Identifier: Apache-2.0
33

44
use criterion::{criterion_group, criterion_main, Criterion};
55
use std::hint::black_box;

examples/backpressure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2026 Photon Ring Contributors
2-
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// SPDX-License-Identifier: Apache-2.0
33

44
//! Backpressure example: reliable order fill pipeline.
55
//!

examples/market_data.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2026 Photon Ring Contributors
2-
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// SPDX-License-Identifier: Apache-2.0
33

44
use photon_ring::Photon;
55
use std::thread;

examples/pinned_latency.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2026 Photon Ring Contributors
2-
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// SPDX-License-Identifier: Apache-2.0
33

44
//! Core-pinned cross-thread latency measurement.
55
//!

src/affinity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Copyright 2026 Photon Ring Contributors
2-
// SPDX-License-Identifier: MIT OR Apache-2.0
2+
// SPDX-License-Identifier: Apache-2.0
33

44
//! CPU core affinity helpers for deterministic cross-core latency.
55
//!

0 commit comments

Comments
 (0)