Skip to content

Commit b216255

Browse files
authored
add x-rust-type support (#2)
Progenitor and typify support automatic replacement with x-rust-type -- add support for that through an optional method on `EngineSpec`.
1 parent f952603 commit b216255

14 files changed

Lines changed: 5780 additions & 58 deletions

File tree

Cargo.lock

Lines changed: 232 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ resolver = "3"
33
members = [
44
"crates/*",
55
"e2e-example",
6+
"typify-example",
67
]
78

89
[workspace.package]
@@ -25,6 +26,7 @@ chrono = { version = "0.4", features = ["serde"] }
2526
clap = { version = "4", features = ["derive"] }
2627
debug-ignore = "1"
2728
derive-where = "1"
29+
expectorate = "1"
2830
futures = "0.3"
2931
indent_write = "2"
3032
indexmap = { version = "2", features = ["serde"] }
@@ -39,15 +41,18 @@ oxide-update-engine-test-utils = { version = "0.1.0", path = "crates/oxide-updat
3941
oxide-update-engine-types = { version = "0.1.0", path = "crates/oxide-update-engine-types" }
4042
owo-colors = "4"
4143
petgraph = { version = "0.8", default-features = false, features = ["graphmap", "std"] }
44+
prettyplease = "0.2"
4245
schemars = { version = "0.8", features = ["uuid1"] }
4346
serde = { version = "1", features = ["derive"] }
4447
serde_json = "1"
4548
slog = "2"
4649
slog-async = "2"
4750
slog-term = "2"
4851
supports-color = "3"
52+
syn = { version = "2", features = ["full"] }
4953
swrite = "0.1"
5054
tokio = { version = "1", features = ["macros", "sync", "time", "rt-multi-thread"] }
5155
tokio-stream = "0.1"
56+
typify = "0.6.1"
5257
unicode-width = "0.2"
5358
uuid = { version = "1", features = ["v4", "serde"] }

crates/oxide-update-engine-types/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ pre-release-replacements = [
4242

4343
[dev-dependencies]
4444
anyhow.workspace = true
45+
expectorate.workspace = true
4546
indexmap.workspace = true
4647
indoc.workspace = true
48+
schemars = { workspace = true }
4749
oxide-update-engine-test-utils.workspace = true
4850
petgraph.workspace = true
4951
serde_json.workspace = true

0 commit comments

Comments
 (0)