-
Notifications
You must be signed in to change notification settings - Fork 156
Description
Describe the bug
Setting the TS_RS_EXPORT_DIR seems to produce all the bindings but no index.ts file.
To Reproduce
Steps to reproduce the behavior:
Generate some bindings with TS_RS_EXPORT_DIR set, e.g. for me it was on a project I was working on:
TS_RS_EXPORT_DIR='mail-parser-ts/bindings' cargo test export_bindings --features ts-bindingsExpected behavior
I'm new to the project but shouldn't index.ts be included?
Screenshots
tar -tzf mail-parser-ts-bindings-0.9.1.tgz (WITHOUT TS_RS_EXPORT_DIR set)

tar -tzf mail-parser-ts-bindings-0.9.1.tgz (WITH TS_RS_EXPORT_DIR set)

Version
What version of the library are you using?
I'm using 10.1
Additional context
Add any other context about the problem here.
I guess the only context is that I need to change the output directory of the resulting bindings, as I have a multi-workspace npm package that I'm working on. Right now I'm just copy -r bindings. Maybe there's a right way to do it? I don't know! But thanks for reading.