Skip to content

Commit

Permalink
Merge pull request #1852 from hannobraun/core
Browse files Browse the repository at this point in the history
Rename `fj-kernel` to `fj-core`
  • Loading branch information
hannobraun authored May 30, 2023
2 parents 41774c2 + 2b33f55 commit 135841d
Show file tree
Hide file tree
Showing 100 changed files with 33 additions and 33 deletions.
34 changes: 17 additions & 17 deletions Cargo.lock

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

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
]
Expand All @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/fj-kernel/Cargo.toml → crates/fj-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "fj-kernel"
name = "fj-core"
version.workspace = true
edition.workspace = true
description.workspace = true
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion crates/fj-kernel/src/lib.rs → crates/fj-core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! # Fornjot CAD Kernel
//! # Fornjot Core
//!
//! [Fornjot] is an early-stage b-rep CAD kernel written in Rust. The kernel is
//! split into multiple libraries that can be used semi-independently, and this
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions models/cuboid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion models/cuboid/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use fj_kernel::{
use fj_core::{
algorithms::sweep::Sweep,
objects::{Sketch, Solid},
operations::{BuildSketch, Insert},
Expand Down
2 changes: 1 addition & 1 deletion models/cuboid/src/main.rs
Original file line number Diff line number Diff line change
@@ -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();
Expand Down
6 changes: 3 additions & 3 deletions tools/cross-compiler/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand Down

0 comments on commit 135841d

Please sign in to comment.