-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Make gcore a std library and remove std, alloc, and more unused features
#2724
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
Conversation
node-graph/gcore/src/types.rs
Outdated
| let name = match name.as_str() { | ||
| "f32" => "f64".to_string(), | ||
| "graphene_core::transform::Footprint" => "core::option::Option<alloc::sync::Arc<graphene_core::context::OwnedContextImpl>>".to_string(), | ||
| "graphene_core::transform::Footprint" => "std::option::Option<std::sync::Arc<graphene_core::context::OwnedContextImpl>>".to_string(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm unsure whether this will cause breakage or not. While core would still compile, alloc shouldn't since I removed the external crate alloc;. Even if this particular migration code may be fine to be changed, it could indicate trouble with other documents in the wild. At least the demo artworks are unaffected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only affects the debug output, a breakage here is fine.
66e683a to
b7104e3
Compare
b7104e3 to
3f17504
Compare
gcore
a6b9c4d to
a916e5d
Compare
gcoregcore an std library, remove unused features
gcore an std library, remove unused features gcore a std library, remove std, alloc and more unused features
a916e5d to
1164fd1
Compare
8c7b22e to
812f64c
Compare
1164fd1 to
1a3d5d8
Compare
gcore a std library, remove std, alloc and more unused featuresgcore a std library and remove std, alloc, and more unused features
… features (#2724) * gcore: remove features `std`, `alloc`, `gpu` and `reflections`, now always available * gcore: remove non-working features `kurbo` and `log`
Requires #2729
This PR contains the code changes, for bulk renames see #2735
Features removed:
std,allocto make it std-onlystddepends onreflections,spectra,rustybuzz,imageandctorallocdepends ondyn-anyandbezier_rsgpuwas for rust-gpu compilinglog,rand_chachaandkurboare required for it to even compile