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.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "astrology-engine"
version = "0.1.0"
edition = "2021"
rust-version = "1.96"
license = "MPL-2.0"
license = "MIT"
publish = false
description = "Immutable Chebyshev ephemeris evaluation and chart calculations"
include = ["/src/**", "/Cargo.toml", "/Cargo.lock", "/LICENSE", "/NOTICE", "/THIRD_PARTY_NOTICES.md", "/notices/**", "/README.md", "/data/manifest.json"]
Expand Down
394 changes: 21 additions & 373 deletions LICENSE

Large diffs are not rendered by default.

10 changes: 3 additions & 7 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
Astrology Engine
Copyright (c) Jack Asher

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.

This notice applies to the original project source, tools, and example
adapters. Third-party code and data retain their existing terms; see
THIRD_PARTY_NOTICES.md.
Original project source, tools, and example adapters are licensed under the
MIT License; see LICENSE. Third-party code and data retain their existing
terms; see THIRD_PARTY_NOTICES.md.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The complete source is [`examples/natal_chart.rs`](examples/natal_chart.rs):

```rust
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

use astrology_engine::{
calculate_chart, ChartInput, Ephemeris, Epoch, HouseSystem, Location, SignDivisions,
Expand Down Expand Up @@ -134,9 +134,9 @@ these checks do not establish independent astronomical accuracy.

## License and distribution

Astrology Engine is licensed under MPL-2.0; see [LICENSE](LICENSE) and
[NOTICE](NOTICE). Distributed changes to covered source files remain under MPL.
Separate applications can use their own licenses. Built distributions include
Astrology Engine is licensed under MIT; see [LICENSE](LICENSE) and
[NOTICE](NOTICE). Third-party components retain their own licenses.
MPL dependencies do not change the MIT license of separately written project files. Built distributions include
the first-party source archive and a notices page linking to it. Dependencies
retain their own terms; see
[third-party notices](THIRD_PARTY_NOTICES.md) and the
Expand Down
2 changes: 1 addition & 1 deletion THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Third-party notices

Astrology Engine's own source and local example adapters are MPL-2.0 licensed; see
Astrology Engine's own source and local example adapters are MIT licensed; see
[LICENSE](LICENSE). Dependencies and copied code retain their respective licenses.
The project license does not relicense those components.

Expand Down
2 changes: 1 addition & 1 deletion examples/birth_and_design.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

use astrology_engine::{
calculate_chart, find_sun_crossing, Body, ChartInput, Direction, Ephemeris, Epoch, HouseSystem,
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudflare-worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "astrology-worker-example"
version = "0.1.0"
edition = "2021"
rust-version = "1.96"
license = "MPL-2.0"
license = "MIT"
publish = false

[workspace]
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudflare-worker/build.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

import { execFileSync } from 'node:child_process';
import { dirname, resolve } from 'node:path';
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudflare-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"engines": {
"node": ">=22"
},
"license": "MPL-2.0"
"license": "MIT"
}
2 changes: 1 addition & 1 deletion examples/cloudflare-worker/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

use astrology_engine::{
calculate_chart, find_sun_crossing, Body, CalculationError, ChartBody, ChartInput, Direction,
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudflare-worker/src/verification.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT


thread_local! {
Expand Down
2 changes: 1 addition & 1 deletion examples/cloudflare-worker/verify.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
Expand Down
2 changes: 1 addition & 1 deletion examples/configurable-chart/build-wasm.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

import { check, copy, wasmBindgenVersion } from '../../tools/notices/core.ts';
import { resolve } from 'node:path';
Expand Down
2 changes: 1 addition & 1 deletion examples/configurable-chart/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

import init, { calculate } from './engine/chart.js';
import { loadDataset } from './dataset.ts';
Expand Down
2 changes: 1 addition & 1 deletion examples/configurable-chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"typescript": "5.9.3",
"vite": "7.3.1"
},
"license": "MPL-2.0"
"license": "MIT"
}
2 changes: 1 addition & 1 deletion examples/configurable-chart/verify-fagan-bradley.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT
import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
import { readFile } from 'node:fs/promises';
Expand Down
2 changes: 1 addition & 1 deletion examples/configurable-chart/verify.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

import assert from 'node:assert/strict';
import { createHash } from 'node:crypto';
Expand Down
2 changes: 1 addition & 1 deletion examples/configurable-chart/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

import { readFile } from 'node:fs/promises';
import type { IncomingMessage, ServerResponse } from 'node:http';
Expand Down
2 changes: 1 addition & 1 deletion examples/configurable-chart/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "configurable-chart-example"
version = "0.1.0"
edition = "2021"
publish = false
license = "MPL-2.0"
license = "MIT"
[workspace]
[lib]
crate-type = ["cdylib", "rlib"]
Expand Down
2 changes: 1 addition & 1 deletion examples/configurable-chart/wasm/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

use astrology_engine::{
calculate_chart, ChartInput, Ephemeris, Epoch, HouseSystem, Location, ZodiacConfiguration,
Expand Down
2 changes: 1 addition & 1 deletion examples/dataset_coverage.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

use astrology_engine::{coverage, Ephemeris, Epoch};

Expand Down
2 changes: 1 addition & 1 deletion examples/natal_chart.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright (c) Jack Asher
// SPDX-License-Identifier: MPL-2.0
// SPDX-License-Identifier: MIT

use astrology_engine::{
calculate_chart, ChartInput, Ephemeris, Epoch, HouseSystem, Location, SignDivisions,
Expand Down
Loading
Loading