Jane Lewis

Results 42 issues of Jane Lewis

I've added 4 command line arguments, including --help,--v, --readfromfile, and --frameskiprate. I also added the option to read from files, which iterates over a video file at a speed determined...

I noticed that modules are imported before we even analyze command line arguments. Since running something like ```--help``` shouldn't do any calculations, there is no reason to import bulky modules...

I've rewritten the script so that it analyzes command line arguments first before importing other modules.

Kotlin should have both inline and `.toml`-level configuration to support annotations on types, similar to how Swift supports decorators. For example: ```rs #[typeshare(kotlin(annotations = "Serializable, Immutable, Parcelize"))] struct MyType {...

feature-request
high-priority

Closes #44. This PR will allow the `typeshare` annotation to be used for `const` variables. This will copy the variable declaration into the output for the respective language. For example:...

If we have an enum that contains a data type with an identical name, the generated code will be ambiguous and throw errors. Here's an example of code that would...

bug

If a type doesn't serialize any generic fields, we shouldn't be applying a generic parameter to the generated code. However, this is currently not the case. Ideally, these definitions should...

bug

Right now we are using hacky workarounds to resolve serde attributes on typeshared types - ideally, we should be utilizing serde's internal attribute parser instead.

improvement

Take the following code snippet: ```rust #[typeshare] #[serde(tag = "type", content = "content")] pub enum Menu { Breadsticks { marinara: bool }, Pizza { pepperoni: bool, anchovies: bool }, }...

feature-request

Taken from our internal issue tracker. ### Original issue description As of today, writing something like the following doesn't work: ``` #[cfg_attr(target_vendor = "apple", typeshare)] ``` It would be nice...

feature-request