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

make dependency on typify-macro optional #213

Merged
merged 1 commit into from
Mar 9, 2023

Conversation

jayvdb
Copy link
Contributor

@jayvdb jayvdb commented Mar 8, 2023

c.f. oxidecomputer/progenitor#345

happy to create a feature "macro" or "macros" if you prefer.

@ahl
Copy link
Collaborator

ahl commented Mar 8, 2023

What's the benefit of this? Are you seeing a significantly faster compilation of progenitor without the typify-macro dependency?

@jayvdb
Copy link
Contributor Author

jayvdb commented Mar 9, 2023

Main benefit is reduced SBOM/SOUP(Software of Unknown Provenance). In automotive/medical/etc, every dependency needs to be recorded,audited,etc, so removing unused typify-macro and serde_tokenstream is a win.

Copy link
Collaborator

@ahl ahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@@ -10,8 +10,11 @@ readme = "../README.md"
keywords = ["json", "schema", "proc_macro"]
categories = ["api-bindings", "compilers"]

[features]
default = ["typify-macro"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's call it "macro"

@jayvdb jayvdb changed the title make dependency on macros optional make dependency on typify-macro optional Mar 9, 2023
@ahl ahl merged commit 18e7faf into oxidecomputer:main Mar 9, 2023
coreyja added a commit to coreyja/typify that referenced this pull request Mar 11, 2023
* main:
  fix spelling (oxidecomputer#214)
  make dependency on typify-macro optional (oxidecomputer#213)
  Bump trybuild from 1.0.77 to 1.0.79 (oxidecomputer#209)
  Bump unicode-ident from 1.0.6 to 1.0.8 (oxidecomputer#208)
  Bump serde_json from 1.0.93 to 1.0.94 (oxidecomputer#210)
  Bump paste from 1.0.11 to 1.0.12 (oxidecomputer#211)
  Bump thiserror from 1.0.38 to 1.0.39 (oxidecomputer#212)
  Bump schemars from 0.8.11 to 0.8.12 (oxidecomputer#205)
  Bump syn from 1.0.107 to 1.0.109 (oxidecomputer#206)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants