Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Aug 9, 2024
1 parent eb4ce3a commit bf65bfd
Show file tree
Hide file tree
Showing 9 changed files with 156 additions and 80 deletions.
208 changes: 140 additions & 68 deletions examples/loco_example/Cargo.lock

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions examples/loco_example/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"

[dependencies]

loco-rs = { version = "0.4" }
loco-rs = { version = "0.7" }
migration = { path = "migration" }

serde = { version = "1", features = ["derive"] }
Expand Down Expand Up @@ -43,9 +43,10 @@ required-features = []
[dev-dependencies]
serial_test = "2.0.0"
rstest = "0.18.2"
loco-rs = { version = "0.4", features = ["testing"] }
loco-rs = { version = "0.7", features = ["testing"] }
insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] }

[patch.crates-io]
sea-orm = { path = "../../" }
sea-orm-migration = { path = "../../sea-orm-migration" }
loco-rs = { git = "https://github.com/SeaQL/sea-orm" }
2 changes: 1 addition & 1 deletion examples/loco_example/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ path = "src/lib.rs"

[dependencies]
async-std = { version = "1", features = ["attributes", "tokio1"] }
loco-rs = { version = "0.4" }
loco-rs = { version = "0.7" }

[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
Expand Down
5 changes: 3 additions & 2 deletions examples/loco_seaography/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"

[dependencies]

loco-rs = { version = "0.4.0" }
loco-rs = { version = "0.7.0" }
migration = { path = "migration" }

serde = { version = "1", features = ["derive"] }
Expand Down Expand Up @@ -50,9 +50,10 @@ required-features = []
[dev-dependencies]
serial_test = "2.0.0"
rstest = "0.18.2"
loco-rs = { version = "0.4.0", features = ["testing"] }
loco-rs = { version = "0.7.0", features = ["testing"] }
insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] }

[patch.crates-io]
sea-orm = { path = "../../" }
sea-orm-migration = { path = "../../sea-orm-migration" }
loco-rs = { git = "https://github.com/SeaQL/sea-orm" }
2 changes: 1 addition & 1 deletion examples/loco_seaography/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ path = "src/lib.rs"

[dependencies]
async-std = { version = "1", features = ["attributes", "tokio1"] }
loco-rs = { version = "0.4.0" }
loco-rs = { version = "0.7.0" }

[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
Expand Down
5 changes: 3 additions & 2 deletions examples/loco_starter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"

[dependencies]

loco-rs = { version = "0.4.0" }
loco-rs = { version = "0.7.0" }
migration = { path = "migration" }

serde = { version = "1", features = ["derive"] }
Expand Down Expand Up @@ -44,9 +44,10 @@ required-features = []
[dev-dependencies]
serial_test = "2.0.0"
rstest = "0.18.2"
loco-rs = { version = "0.4.0", features = ["testing"] }
loco-rs = { version = "0.7.0", features = ["testing"] }
insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] }

[patch.crates-io]
sea-orm = { path = "../../" }
sea-orm-migration = { path = "../../sea-orm-migration" }
loco-rs = { git = "https://github.com/SeaQL/sea-orm" }
2 changes: 1 addition & 1 deletion examples/loco_starter/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ path = "src/lib.rs"

[dependencies]
async-std = { version = "1", features = ["attributes", "tokio1"] }
loco-rs = { version = "0.4.0" }
loco-rs = { version = "0.7.0" }

[dependencies.sea-orm-migration]
path = "../../../sea-orm-migration" # remove this line in your own project
Expand Down
5 changes: 3 additions & 2 deletions examples/react_admin/backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2021"

[dependencies]

loco-rs = { version = "0.4.0" }
loco-rs = { version = "0.7.0" }
migration = { path = "migration" }

serde = { version = "1", features = ["derive"] }
Expand Down Expand Up @@ -50,9 +50,10 @@ required-features = []
[dev-dependencies]
serial_test = "2.0.0"
rstest = "0.18.2"
loco-rs = { version = "0.4.0", features = ["testing"] }
loco-rs = { version = "0.7.0", features = ["testing"] }
insta = { version = "1.34.0", features = ["redactions", "yaml", "filters"] }

[patch.crates-io]
sea-orm = { path = "../../../" }
sea-orm-migration = { path = "../../../sea-orm-migration" }
loco-rs = { git = "https://github.com/SeaQL/sea-orm" }
2 changes: 1 addition & 1 deletion examples/react_admin/backend/migration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ path = "src/lib.rs"

[dependencies]
async-std = { version = "1", features = ["attributes", "tokio1"] }
loco-rs = { version = "0.4.0" }
loco-rs = { version = "0.7.0" }

[dependencies.sea-orm-migration]
path = "../../../../sea-orm-migration" # remove this line in your own project
Expand Down

0 comments on commit bf65bfd

Please sign in to comment.