Skip to content

Commit 72df844

Browse files
authored
Correct outdated details (#2420)
1 parent 9f7c49a commit 72df844

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

design/src/server/code_generation.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ This document introduces the project and how code is being generated. It is writ
77

88
The project is divided in:
99

10-
- `/codegen`: it contains shared code for both client and server, but only generates a client
11-
- `/codegen-server`: server only. This project started with `codegen` to generate a client, but client and server share common code; that code lives in `codegen`, which `codegen-server` depends on
10+
- `/codegen-core`: contains common code to be used for both client and server code generation
11+
- `/codegen-client`: client code generation. Depends on `codegen-core`
12+
- `/codegen-server`: server code generation. Depends on `codegen-core`
1213
- `/aws`: the AWS Rust SDK, it deals with AWS services specifically. The folder structure reflects the project's, with the `rust-runtime` and the `codegen`
1314
- `/rust-runtime`: the generated client and server crates may depend on crates in this folder. Crates here are not code generated. The only crate that is not published is `inlineable`,
1415
which contains common functions used by other crates, [copied into][2] the source crate
1516

16-
`/rust-runtime` crates ("runtime crates") are added to a crate's dependency only when used. If a model uses event streams, it will depend on [`aws-smithy-eventstream`][3].
17+
Crates in `/rust-runtime` (informally referred to as "runtime crates") are added to a crate's dependency only when used.
18+
For example, if a model uses event streams, the generated crates will depend on [`aws-smithy-eventstream`][3].
1719

1820
## Generating code
1921

0 commit comments

Comments
 (0)