-
-
Notifications
You must be signed in to change notification settings - Fork 614
Make gcore
a std library, 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
base: master
Are you sure you want to change the base?
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
…lways available
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
Requires #2729
This PR contains the code changes, for bulk renames see #2735