Skip to content

Commit 3991879

Browse files
author
Fahad Zubair
committed
Change Pyo3 version in Cargo dependency
1 parent 1d902e1 commit 3991879

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codegen-server/python/src/main/kotlin/software/amazon/smithy/rust/codegen/server/python/smithy/PythonServerCargoDependency.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ import software.amazon.smithy.rust.codegen.core.smithy.RuntimeConfig
1515
* For a dependency that is used in the client, or in both the client and the server, use [CargoDependency] directly.
1616
*/
1717
object PythonServerCargoDependency {
18-
val PyO3: CargoDependency = CargoDependency("pyo3", CratesIo("0.18"))
18+
val PyO3: CargoDependency = CargoDependency("pyo3", CratesIo("0.20"))
1919
val PyO3Asyncio: CargoDependency =
20-
CargoDependency("pyo3-asyncio", CratesIo("0.18"), features = setOf("attributes", "tokio-runtime"))
20+
CargoDependency("pyo3-asyncio", CratesIo("0.20"), features = setOf("attributes", "tokio-runtime"))
2121
val Tokio: CargoDependency = CargoDependency("tokio", CratesIo("1.20.1"), features = setOf("full"))
2222
val TokioStream: CargoDependency = CargoDependency("tokio-stream", CratesIo("0.1.12"))
2323
val Tracing: CargoDependency = CargoDependency("tracing", CratesIo("0.1"))

0 commit comments

Comments
 (0)