Skip to content

Commit

Permalink
Switch SeaORM to Rustls
Browse files Browse the repository at this point in the history
Compiling native-tls requires additional setup on some platforms,
particularly Alpine linux. Rustls works out of the box.
  • Loading branch information
Aleksbgbg committed Feb 17, 2024
1 parent 5f720a8 commit 56b53d6
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 121 deletions.
169 changes: 49 additions & 120 deletions backend-rs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion backend-rs/backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jsonwebtoken = { version = "9.2.0", default-features = false }
lazy_static = "1.4.0"
ring = "0.17.7"
rs-snowflake = "0.6.0"
sea-orm = { version = "0.12.14", features = ["runtime-tokio-native-tls", "sqlx-postgres"] }
sea-orm = { version = "0.12.14", features = ["runtime-tokio-rustls", "sqlx-postgres"] }
sea-orm-migration = "0.12.12"
serde = { version = "1.0.196", features = ["derive"] }
serde_json = "1.0.113"
Expand Down

0 comments on commit 56b53d6

Please sign in to comment.