You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ The `RustFunction` construct creates a Lambda function with automatic bundling a
45
45
$ rustup target add aarch64-unknown-linux-gnu
46
46
```
47
47
48
-
4) Use [`cargo`] to install _cargo-lambda_:
48
+
3. Use [`cargo`] to install _cargo-lambda_:
49
49
50
50
```shell
51
51
$ cargo install cargo-lambda
@@ -277,8 +277,8 @@ Below lists some commonly used properties you can pass in to the `RustFunction`
277
277
| `setupLogging` | Determines whether we want to set up [library logging](https://rust-lang-nursery.github.io/rust-cookbook/development_tools/debugging/config_log.html) - i.e. set the `RUST_LOG` environment variable - for the lambda function.<br><br>The format defaults to `warn,module_name=debug`, which means that the default log level is `warn`, and the executable or library's log level is `debug`. |
278
278
||
279
279
|`features`| A list of features to activate when compiling Rust code. These must also be added to the `Cargo.toml` file. |
280
-
|`buildEnvironment`| Key-value pairs that are passed in at compile time, i.e. to `cargo build` or `cargo lambda`. This differs from `environment`, which determines the environment variables which are set on the AWS Lambda functionitself.|
281
-
|`extraBuildArgs`| Additional arguments that are passed in at build time to `cargo lambda`. For example, [`--all-features`]. |
280
+
|`buildEnvironment`| Key-value pairs that are passed in at compile time, i.e. to `cargo build` or `cargo lambda`. This differs from `environment`, which determines the environment variables which are set on the AWS Lambda functionitself.|
281
+
|`extraBuildArgs`| Additional arguments that are passed in at build time to `cargo lambda`. For example, [`--all-features`]. |
282
282
283
283
## Settings
284
284
@@ -297,5 +297,5 @@ Below are some useful _global_ defaults which can be set for all Rust Lambda Fun
297
297
|`MODULE_LOG_LEVEL`| Log Level for a module (i.e. the executable). Note that this value is only used when `RustFunctionProps.setupLogging` is enabled. Defaults to `debug`. |
298
298
|`WORKSPACE_DIR`| Sets the root workspace directory. By default, the workspace directory is assumed to be the directory where `cdk` was invoked.<br><br>This directory should contain at the minimum a `Cargo.toml` file which defines the workspace members. |
299
299
|`FEATURES`| A list of features to activate when compiling Rust code. These must also be added to the `Cargo.toml` file. |
300
-
|`BUILD_ENVIRONMENT`| Key-value pairs that are passed in at compile time, i.e. to `cargo build` or `cargo lambda`. This differs from `environment`, which determines the environment variables which are set on the AWS Lambda functionitself.|
301
-
|`EXTRA_BUILD_ARGS`| Additional arguments that are passed in at build time to both `cargo lambda`. For example, [`--all-features`]. |
300
+
|`BUILD_ENVIRONMENT`| Key-value pairs that are passed in at compile time, i.e. to `cargo build` or `cargo lambda`. This differs from `environment`, which determines the environment variables which are set on the AWS Lambda functionitself.|
301
+
|`EXTRA_BUILD_ARGS`| Additional arguments that are passed in at build time to both `cargo lambda`. For example, [`--all-features`]. |
0 commit comments