diff --git a/Cargo.lock b/Cargo.lock index df2b4e2..f672b45 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -398,7 +398,7 @@ dependencies = [ [[package]] name = "comline-codegen" version = "0.1.0" -source = "git+https://github.com/ComlineProject/generation?rev=caa22a31ffb21ea9e888a9c52c69781965abb00a#caa22a31ffb21ea9e888a9c52c69781965abb00a" +source = "git+https://github.com/ComlineProject/generation?rev=2d824dded159efc862d2c6266c27c015542baa96#2d824dded159efc862d2c6266c27c015542baa96" dependencies = [ "comline-core", "eyre", @@ -408,7 +408,7 @@ dependencies = [ [[package]] name = "comline-codegen-rust" version = "0.1.0" -source = "git+https://github.com/ComlineProject/comline-rust?rev=a7bb69b87d549b1938e9aacecc80dd3e1ee04caa#a7bb69b87d549b1938e9aacecc80dd3e1ee04caa" +source = "git+https://github.com/ComlineProject/comline-rust?rev=8f7e0baa81e1cf6350582148ace7c4fe86be830c#8f7e0baa81e1cf6350582148ace7c4fe86be830c" dependencies = [ "comline-codegen", "comline-core", @@ -418,7 +418,7 @@ dependencies = [ [[package]] name = "comline-codegen-typescript" version = "0.1.0" -source = "git+https://github.com/ComlineProject/comline-typescript?rev=b96f2cac4d90a7dd81818c73d71e2832c694dd78#b96f2cac4d90a7dd81818c73d71e2832c694dd78" +source = "git+https://github.com/ComlineProject/comline-typescript?rev=62bbf796eff54c2bd304004b7d29e854074d4396#62bbf796eff54c2bd304004b7d29e854074d4396" dependencies = [ "comline-codegen", "comline-core", @@ -428,7 +428,7 @@ dependencies = [ [[package]] name = "comline-core" version = "0.1.0" -source = "git+https://github.com/ComlineProject/core?rev=c01b756ae3183cb88fec5c4b7fb0d4bd34f1d66a#c01b756ae3183cb88fec5c4b7fb0d4bd34f1d66a" +source = "git+https://github.com/ComlineProject/core?rev=ad2b3f582dabb4a27d616741e425699299fc84de#ad2b3f582dabb4a27d616741e425699299fc84de" dependencies = [ "ariadne", "blake3", @@ -455,7 +455,7 @@ dependencies = [ [[package]] name = "comline-core-stdlib" version = "0.1.0" -source = "git+https://github.com/ComlineProject/core?rev=c01b756ae3183cb88fec5c4b7fb0d4bd34f1d66a#c01b756ae3183cb88fec5c4b7fb0d4bd34f1d66a" +source = "git+https://github.com/ComlineProject/core?rev=ad2b3f582dabb4a27d616741e425699299fc84de#ad2b3f582dabb4a27d616741e425699299fc84de" [[package]] name = "concolor" diff --git a/Cargo.toml b/Cargo.toml index 22e9330..7643183 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,15 +30,15 @@ toml = "0.8" # needs real I/O (git fetch, filesystem), so it's off by default for # `comline-core`'s wasm32 consumers (the playground editor, the language # server); the CLI is the one consumer that actually runs `comline build`. -comline-core = { git = "https://github.com/ComlineProject/core", rev = "c01b756ae3183cb88fec5c4b7fb0d4bd34f1d66a", features = ["deps"] } +comline-core = { git = "https://github.com/ComlineProject/core", rev = "ad2b3f582dabb4a27d616741e425699299fc84de", features = ["deps"] } # All three pinned to revs that agree on one `comline-codegen`, and bumped # together: comline-rust and comline-typescript's codegen crates consume # `comline-codegen`'s types, so the rev below must be byte-identical to the # one *they* pin - Cargo only unifies a git dependency across identical rev # strings, and two copies of `GenRequest` are two incompatible types. -comline-codegen = { git = "https://github.com/ComlineProject/generation", rev = "caa22a31ffb21ea9e888a9c52c69781965abb00a" } -comline-codegen-rust = { git = "https://github.com/ComlineProject/comline-rust", rev = "a7bb69b87d549b1938e9aacecc80dd3e1ee04caa", optional = true } -comline-codegen-typescript = { git = "https://github.com/ComlineProject/comline-typescript", rev = "b96f2cac4d90a7dd81818c73d71e2832c694dd78", optional = true } +comline-codegen = { git = "https://github.com/ComlineProject/generation", rev = "2d824dded159efc862d2c6266c27c015542baa96" } +comline-codegen-rust = { git = "https://github.com/ComlineProject/comline-rust", rev = "8f7e0baa81e1cf6350582148ace7c4fe86be830c", optional = true } +comline-codegen-typescript = { git = "https://github.com/ComlineProject/comline-typescript", rev = "62bbf796eff54c2bd304004b7d29e854074d4396", optional = true } [features] # Which language generators are compiled in. Drop one to shed its whole diff --git a/tests/fixtures/chat_project/src/chat.ids b/tests/fixtures/chat_project/src/chat.ids index a45049b..60e452d 100644 --- a/tests/fixtures/chat_project/src/chat.ids +++ b/tests/fixtures/chat_project/src/chat.ids @@ -4,12 +4,12 @@ struct Message { } error Rejected { - message = "rejected: {self.reason}" + message = f"rejected: {self.reason}" reason: string } error TooLong { - message = "too long: {self.limit} max" + message = f"too long: {self.limit} max" limit: u32 }