Metadata - #1
Conversation
d2d8fec to
6bb29b5
Compare
|
The unit tests work fine, only when I try to compile it as part of |
|
Do not make Furthermore I think that having |
|
@Wassasin I moved to postcard and removed serde_json. Seems to work fine with the unit tests. Still todo is to move the CLI tool and pkg has not been migrated yet. |
0775ac8 to
e4d93ab
Compare
e4d93ab to
60fad3f
Compare
-- Fixed conditional compilation for stream. -- Fixed irmaseal-pkg with new metadata.
5273963 to
599a8a6
Compare
leonbotros
left a comment
There was a problem hiding this comment.
Overall, its looks good. I left some questions though.
| #[test] | ||
| fn eq_write_read() { | ||
| let mut buf = IdentityBuf::new(); | ||
| let mut buf: [u8; 1024] = [0; 1024]; |
There was a problem hiding this comment.
We can't use the IdentityBuf type alias here?
| const IDENTITY_UNSET: u8 = 0xFF; | ||
|
|
||
| // Must be at least 8+1+255+1+254 = 519 | ||
| // Must be at least 8+255+1+254 = 518 |
There was a problem hiding this comment.
Why this change? We would still need 1 byte to encode the length of both ArrayStrings?
There was a problem hiding this comment.
Not that it matters...
|
@Wassasin Could you quickly look over the changes if everything is Oké with you? |
| help: Sets the input file to use | ||
| required: true | ||
| index: 1 | ||
| - OUTPUT: |
There was a problem hiding this comment.
Is it really practical to remove this? If I have a file that is named exactly the same as a file within the tar, what happens then? Is it overwritten then or do I get an error?
251d9be to
6ca580a
Compare
6ca580a to
20740f3
Compare
Moved metadata to json.
TODOs: