-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
@@ -144,7 +141,7 @@ fn migrate_type_descriptor_names<'de, D: serde::Deserializer<'de>>(deserializer: | |||
let name = String::deserialize(deserializer)?; | |||
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
gcore
gcore
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
,alloc
to make it std-onlystd
depends onreflections
,spectra
,rustybuzz
,image
andctor
alloc
depends ondyn-any
andbezier_rs
gpu
was for rust-gpu compilinglog
,rand_chacha
andkurbo
are required for it to even compile