| 12 | * Options for bundling |
| 13 | */ |
| 14 | export interface BundlingProps extends BundlingOptions { |
| 15 | /** |
| 16 | * Path to a directory containing your Cargo.toml file, or to your Cargo.toml directly. |
| 17 | * |
| 18 | * This will accept either a directory path containing a `Cargo.toml` file |
| 19 | * or a filepath to your `Cargo.toml` file (i.e. `path/to/Cargo.toml`). |
| 20 | * |
| 21 | * This will be used as the source of the volume mounted in the Docker |
| 22 | * container and will be the directory where it will run `cargo lambda build` from. |
| 23 | * |
| 24 | */ |
| 25 | readonly manifestPath: string; |
| 26 | |
| 27 | /** |
| 28 | * The name of the binary to build, in case that's different than the package's name. |
| 29 | */ |
| 30 | readonly binaryName?: string; |
| 31 | |
| 32 | /** |
| 33 | * Whether the code to compile is a Lambda Extension or not. |
| 34 | */ |
| 35 | readonly lambdaExtension?: boolean; |
| 36 | } |
| 37 | |
| 38 | interface CommandOptions { |
| 39 | readonly inputDir: string; |
nothing calls this directly
no outgoing calls
no test coverage detected