This repository was archived by the owner on Nov 11, 2025. It is now read-only.
Integrate ICCC with KiCad using Rust#8
Merged
Merged
Conversation
luxas
approved these changes
Jun 15, 2021
Member
luxas
left a comment
There was a problem hiding this comment.
Thanks! I'm happy to merge this now, and then we can continue to iterate.
| use kicad_rs::types::*; | ||
|
|
||
| // Main function, can return different kinds of errors | ||
| fn main() -> Result<(), Box<dyn Error>> { |
Member
There was a problem hiding this comment.
I'll move the logic from here to the library after this has been merged.
| // use crate::resolver; | ||
|
|
||
| // Main function, can return different kinds of errors | ||
| fn main() -> Result<(), Box<dyn Error>> { |
Member
There was a problem hiding this comment.
Will figure out this code after merge, to use the parsing library.
|
|
||
| # Temporary files | ||
| *.000 | ||
| *.bak |
Member
Author
There was a problem hiding this comment.
IDE warned about duplicate entries so I removed the less relevant duplicates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Initialize the next generation of ICCC (#4) now integrated directly into KiCad and written in Rust. You may define expressions for component attributes in the "Symbol Properties" view in KiCad, and ICCC Rust edition (nicknamed
evaluator) will parse the EESchema (.sch) file of KiCad and update the values.This work also unites the
parser(#6) andevaluatorto facilitate code sharing, and updates the.gitignoreto work better with multi-binary Cargo workspaces.