Rename `fj-kernel` to `fj-core`

The name `fj-kernel` has become confusing. All of Fornjot is a kernel
now, and `fj-core` is just the core part of that CAD kernel.
This commit is contained in:
Hanno Braun 2023-05-30 13:51:16 +02:00
parent 41774c2315
commit 0d2f1c47c7
100 changed files with 33 additions and 33 deletions

36
Cargo.lock generated
View File

@ -630,8 +630,8 @@ version = "0.1.0"
dependencies = [
"anyhow",
"clap",
"fj-core",
"fj-export",
"fj-kernel",
"fj-math",
"fj-window",
"itertools",
@ -779,6 +779,23 @@ dependencies = [
"simd-adler32",
]
[[package]]
name = "fj-core"
version = "0.46.0"
dependencies = [
"anyhow",
"fj-interop",
"fj-math",
"iter_fixed",
"itertools",
"parking_lot",
"pretty_assertions",
"robust 1.1.0",
"spade",
"thiserror",
"type-map",
]
[[package]]
name = "fj-export"
version = "0.46.0"
@ -798,23 +815,6 @@ dependencies = [
"fj-math",
]
[[package]]
name = "fj-kernel"
version = "0.46.0"
dependencies = [
"anyhow",
"fj-interop",
"fj-math",
"iter_fixed",
"itertools",
"parking_lot",
"pretty_assertions",
"robust 1.1.0",
"spade",
"thiserror",
"type-map",
]
[[package]]
name = "fj-math"
version = "0.46.0"

View File

@ -1,9 +1,9 @@
[workspace]
resolver = "2"
members = [
"crates/fj-core",
"crates/fj-export",
"crates/fj-interop",
"crates/fj-kernel",
"crates/fj-math",
"crates/fj-viewer",
"crates/fj-window",
@ -17,9 +17,9 @@ members = [
"tools/release-operator",
]
default-members = [
"crates/fj-core",
"crates/fj-export",
"crates/fj-interop",
"crates/fj-kernel",
"crates/fj-math",
"crates/fj-viewer",
]
@ -42,6 +42,10 @@ categories = ["encoding", "mathematics", "rendering"]
version = "0.46.0"
path = "crates/fj"
[workspace.dependencies.fj-core]
version = "0.46.0"
path = "crates/fj-core"
[workspace.dependencies.fj-export]
version = "0.46.0"
path = "crates/fj-export"
@ -54,10 +58,6 @@ path = "crates/fj-host"
version = "0.46.0"
path = "crates/fj-interop"
[workspace.dependencies.fj-kernel]
version = "0.46.0"
path = "crates/fj-kernel"
[workspace.dependencies.fj-math]
version = "0.46.0"
path = "crates/fj-math"

View File

@ -1,5 +1,5 @@
[package]
name = "fj-kernel"
name = "fj-core"
version.workspace = true
edition.workspace = true
description.workspace = true

View File

@ -12,12 +12,12 @@ itertools = "0.10.5"
version = "4.3.0"
features = ["derive"]
[dependencies.fj-core]
path = "../../crates/fj-core"
[dependencies.fj-export]
path = "../../crates/fj-export"
[dependencies.fj-kernel]
path = "../../crates/fj-kernel"
[dependencies.fj-math]
path = "../../crates/fj-math"

View File

@ -1,4 +1,4 @@
use fj_kernel::{
use fj_core::{
algorithms::sweep::Sweep,
objects::{Sketch, Solid},
operations::{BuildSketch, Insert},

View File

@ -1,6 +1,6 @@
use std::{ops::Deref, path::PathBuf};
use fj_kernel::algorithms::{approx::Tolerance, triangulate::Triangulate};
use fj_core::algorithms::{approx::Tolerance, triangulate::Triangulate};
fn main() -> anyhow::Result<()> {
let args = Args::parse();

View File

@ -13,18 +13,18 @@ fn main() -> anyhow::Result<()> {
let targets = [
Target {
triple: "aarch64-apple-ios",
crates: &["fj-export", "fj-interop", "fj-kernel", "fj-math"],
crates: &["fj-core", "fj-export", "fj-interop", "fj-math"],
},
Target {
triple: "aarch64-linux-android",
crates: &["fj-export", "fj-interop", "fj-kernel", "fj-math"],
crates: &["fj-core", "fj-export", "fj-interop", "fj-math"],
},
Target {
triple: "wasm32-unknown-unknown",
crates: &[
"fj-core",
"fj-export",
"fj-interop",
"fj-kernel",
"fj-math",
"fj-viewer",
],