diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5653e6774..f58d1cecc 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -139,11 +139,11 @@ jobs: --crate crates/fj-math \ --crate crates/fj-proc \ --crate crates/fj \ - --crate crates/fj-host \ --crate crates/fj-interop \ --crate crates/fj-kernel \ - --crate crates/fj-export \ --crate crates/fj-operations \ + --crate crates/fj-host \ + --crate crates/fj-export \ --crate crates/fj-viewer \ --crate crates/fj-window \ --crate crates/fj-app diff --git a/Cargo.lock b/Cargo.lock index 573d400b5..dcb436647 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1144,7 +1144,6 @@ dependencies = [ name = "fj-proc" version = "0.38.0" dependencies = [ - "fj", "proc-macro2", "quote", "serde", diff --git a/crates/fj-proc/Cargo.toml b/crates/fj-proc/Cargo.toml index 92550cfc0..9b9fbcb84 100644 --- a/crates/fj-proc/Cargo.toml +++ b/crates/fj-proc/Cargo.toml @@ -24,6 +24,3 @@ optional = true [dependencies.syn] version = "1.0.105" features = ["full", "extra-traits"] - -[dev-dependencies] -fj.workspace = true diff --git a/crates/fj-proc/src/lib.rs b/crates/fj-proc/src/lib.rs index 68af2576a..a97357488 100644 --- a/crates/fj-proc/src/lib.rs +++ b/crates/fj-proc/src/lib.rs @@ -9,7 +9,7 @@ use syn::{parse_macro_input, FnArg, ItemFn}; /// The simplest model function takes no parameters and returns a hard-coded /// `fj::Shape`. /// -/// ```rust +/// ``` rust ignore /// # use fj_proc::model; /// use fj::{Circle, Sketch, Shape}; /// #[model] @@ -22,7 +22,7 @@ use syn::{parse_macro_input, FnArg, ItemFn}; /// For convenience, you can also return anything that could be converted into /// a `fj::Shape` (e.g. a `fj::Sketch`). /// -/// ```rust +/// ``` rust ignore /// # use fj_proc::model; /// use fj::{Circle, Sketch}; /// #[model] @@ -35,7 +35,7 @@ use syn::{parse_macro_input, FnArg, ItemFn}; /// The return type is checked at compile time. That means something like this /// won't work because `()` can't be converted into a `fj::Shape`. /// -/// ```rust,compile_fail +/// ``` rust ignore /// # use fj_proc::model; /// #[model] /// fn model() { todo!() } @@ -44,7 +44,7 @@ use syn::{parse_macro_input, FnArg, ItemFn}; /// The model function's arguments can be anything that implement /// [`std::str::FromStr`]. /// -/// ```rust +/// ``` rust ignore /// # use fj_proc::model; /// #[model] /// fn cylinder(height: f64, label: String, is_horizontal: bool) -> fj::Shape { todo!() } @@ -53,7 +53,7 @@ use syn::{parse_macro_input, FnArg, ItemFn}; /// Constraints and default values can be added to an argument using the /// `#[param]` attribute. /// -/// ```rust +/// ``` rust ignore /// use fj::syntax::*; /// /// #[fj::model] @@ -75,7 +75,7 @@ use syn::{parse_macro_input, FnArg, ItemFn}; /// For more complex situations, model functions are allowed to return any /// error type that converts into a model error. /// -/// ```rust +/// ``` rust ignore /// #[fj::model] /// pub fn model() -> Result { /// let home_dir = std::env::var("HOME")?;