Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Oct 15, 2021
1 parent a7ad4ff commit 349108d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
11 changes: 6 additions & 5 deletions examples/actix4_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ actix-web = "=4.0.0-beta.5"
tera = "1.8.0"
dotenv = "0.15"
listenfd = "0.3.3"
# remove `path = ""` in your own project
sea-orm = { path = "../../", version = "^0.2.3", features = [
"macros",
"runtime-actix-native-tls",
], default-features = false }
serde = "1"
env_logger = "0.8"

[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "^0.3.0"
features = ["macros", "runtime-actix-native-tls"]
default-features = false

[features]
default = ["sqlx-mysql"]
sqlx-mysql = ["sea-orm/sqlx-mysql"]
Expand Down
11 changes: 6 additions & 5 deletions examples/actix_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,15 @@ futures-util = { version = "^0.3" }
tera = "1.8.0"
dotenv = "0.15"
listenfd = "0.3.3"
# remove `path = ""` in your own project
sea-orm = { path = "../../", version = "^0.2.3", features = [
"macros",
"runtime-async-std-native-tls",
], default-features = false }
serde = "1"
env_logger = "0.8"

[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "^0.3.0"
features = ["macros", "runtime-async-std-native-tls"]
default-features = false

[features]
default = ["sqlx-mysql"]
sqlx-mysql = ["sea-orm/sqlx-mysql"]
Expand Down
2 changes: 1 addition & 1 deletion examples/rocket_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ serde_json = { version = "^1" }

[dependencies.sea-orm]
path = "../../" # remove this line in your own project
version = "^0.2.3"
version = "^0.3.0"
features = ["macros", "runtime-tokio-native-tls"]
default-features = false

Expand Down

0 comments on commit 349108d

Please sign in to comment.