Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the cargo group with 3 updates #6

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 15, 2024

Bumps the cargo group with 3 updates: anyhow, fj and font.

Updates anyhow from 1.0.81 to 1.0.82

Release notes

Sourced from anyhow's releases.

1.0.82

  • Documentation improvements
Commits
  • 074bdea Release 1.0.82
  • 47a4fbf Merge pull request #360 from dtolnay/docensure
  • c5af1db Make ensure's doc comment apply to the cfg(not(doc)) macro too
  • bebc7a2 Revert "Temporarily disable miri on doctests"
  • f2c4db9 Update ui test suite to nightly-2024-03-31
  • 028cbee Explicitly install a Rust toolchain for cargo-outdated job
  • 7a4cac5 Merge pull request #358 from dtolnay/workspacewrapper
  • 939db01 Apply RUSTC_WORKSPACE_WRAPPER
  • 9f84a37 Temporarily disable miri on doctests
  • 45e5a58 Ignore dead code lint in test
  • Additional commits viewable in compare view

Updates fj from 0.48.0 to 0.49.0

Release notes

Sourced from fj's releases.

v0.49.0

This release announcement is also available on the Fornjot website

It's about time for a new release of Fornjot! This one is a bit of a transitionary one, with lots of work that has been started but isn't finished yet. But none the less, there are a few goodies in here.

Let's take a look at the highlights first. A full (curated) changelog is available below.

fj::Instance

fj::Instance serves as the new entry point to the Fornjot API, and you can now easily create an instance of Fornjot by calling fj::Instance::new().

fj-core, the most substantial of Fornjot's libraries, also has a new entry point, fj_core::Core, which is available as a field on fj::Instance.

The following sections have some examples that show off the improved ease of use.

Create a shell from vertices and indices

It's now possible to create a shell by providing a bunch of vertices and indices:

use fj::core::{objects::Shell, operations::build::BuildShell};
let mut fj = fj::Instance::new();
let tetrahedron = Shell::from_vertices_and_indices(
[[0., 0., 0.], [1., 0., 0.], [0., 1., 0.], [0., 0., 1.]],
[[2, 1, 0], [0, 1, 3], [1, 2, 3], [2, 0, 3]],
&mut fj.core,
);

Here's the result:

A tetrahedron

This is not the most convenient way to create a shape, nor the most powerful one, but it does allow you to specify any arbitrary polyhedron. Where the shape is too complex for less general methods, but not yet too complex to get unwieldy, there's a sweet spot for this approach.

Layers

The core of Fornjot's data structure is the object graph, which describes shapes as a graph of interrelated objects (like faces, edges, vertices, and more). Traditionally, this graph has contained all the data necessary to describe a shape. But in this release, I've started to introduce the concept of dedicated layers.

I've already finished extraction color information to a separate presentation layer. This makes it possible to update the color of an object, without having to create a new, modified object.

let mut fj = fj::Instance::new();
let size = 1.;
let cuboid = cuboid::model([size, size, size], &mut fj.core);
cuboid
</tr></table>

... (truncated)

Changelog

Sourced from fj's changelog.

v0.49.0 (2024-03-21)

Library improvements

Improvements to Fornjot libraries.

fj

  • Add fj::Instance (#2217)

fj-core

fj-export

fj-interop

  • Clean up crate (#2165)
  • Add various conversions to Color (#2166)

fj-viewer

  • Upgrade to wgpu 0.19 (#2182)

Other changes

Improvements that are not associated with a specific Fornjot library.

... (truncated)

Commits

Updates font from 0.29.3 to 0.30.1

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the cargo group with 3 updates: [anyhow](https://github.com/dtolnay/anyhow), [fj](https://github.com/hannobraun/fornjot) and [font](https://github.com/bodoni/font).


Updates `anyhow` from 1.0.81 to 1.0.82
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.81...1.0.82)

Updates `fj` from 0.48.0 to 0.49.0
- [Release notes](https://github.com/hannobraun/fornjot/releases)
- [Changelog](https://github.com/hannobraun/fornjot/blob/main/CHANGELOG.md)
- [Commits](hannobraun/fornjot@v0.48.0...v0.49.0)

Updates `font` from 0.29.3 to 0.30.1
- [Commits](https://github.com/bodoni/font/commits)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo
- dependency-name: fj
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
- dependency-name: font
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 15, 2024
@samgoldman
Copy link
Owner

@dependabot ignore fj minor version

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 21, 2024

OK, I won't notify you about version 0.49.x of fj again, unless you unignore it.

@samgoldman
Copy link
Owner

https://github.com/dependabot ignore fj major version

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 21, 2024

OK, I won't notify you about version 0.x.x of fj again, unless you unignore it.

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 21, 2024

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Apr 21, 2024
@dependabot dependabot bot deleted the dependabot/cargo/cargo-8c545559ff branch April 21, 2024 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant