Update for Preserves 0.991

This commit is contained in:
Tony Garnock-Jones 2023-10-31 22:58:02 +01:00
parent f8c76e9230
commit cbaeba7bba
6 changed files with 25 additions and 25 deletions

8
Cargo.lock generated
View File

@ -1481,9 +1481,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
[[package]] [[package]]
name = "preserves" name = "preserves"
version = "3.990.0" version = "4.991.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9dcce38db440a6d301aaf73f6692d1ca1a6cea5c2e5b2f5ac29fabbeb3dab15" checksum = "b4a244356924e0324af5205b20c03a203f4364640f816787bea3792b71eb4fd1"
dependencies = [ dependencies = [
"base64", "base64",
"dtoa", "dtoa",
@ -1496,9 +1496,9 @@ dependencies = [
[[package]] [[package]]
name = "preserves-schema" name = "preserves-schema"
version = "3.990.0" version = "4.991.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830a3c2c01f2c2420ad5df48cf48fdb20bcfce797fb75e6294d3378d2a100e92" checksum = "12225b6104827dc6d513f7f418cbe1fa9399a54f699c34d03eec706fb8fb41c0"
dependencies = [ dependencies = [
"convert_case", "convert_case",
"glob", "glob",

View File

@ -13,11 +13,11 @@ license = "Apache-2.0"
jemalloc = ["dep:tikv-jemallocator"] jemalloc = ["dep:tikv-jemallocator"]
[build-dependencies] [build-dependencies]
preserves-schema = "3.990" preserves-schema = "4.991"
syndicate = { path = "../syndicate", version = "0.29.0"} syndicate = { path = "../syndicate", version = "0.29.0"}
[dependencies] [dependencies]
preserves-schema = "3.990" preserves-schema = "4.991"
syndicate = { path = "../syndicate", version = "0.29.0"} syndicate = { path = "../syndicate", version = "0.29.0"}
syndicate-macros = { path = "../syndicate-macros", version = "0.24.0"} syndicate-macros = { path = "../syndicate-macros", version = "0.24.0"}

View File

@ -1,11 +1,11 @@
version 1 . version 1 .
; Assertion. Describes `object`. # Assertion. Describes `object`.
Metadata = <metadata @object any @info { symbol: any ...:... }> . Metadata = <metadata @object any @info { symbol: any ...:... }> .
; Projections of the `info` in a `Metadata` record. # Projections of the `info` in a `Metadata` record.
Description = @present { description: IOList } / @invalid { description: any } / @absent {} . Description = @present { description: IOList } / @invalid { description: any } / @absent {} .
Url = @present { url: string } / @invalid { url: any } / @absent {} . Url = @present { url: string } / @invalid { url: any } / @absent {} .
; Data type. From preserves' `conventions.md`. # Data type. From preserves' `conventions.md`.
IOList = @bytes bytes / @string string / @nested [IOList ...] . IOList = @bytes bytes / @string string / @nested [IOList ...] .

View File

@ -30,26 +30,26 @@ EnvVariable = @string string / @symbol symbol / @invalid any .
EnvValue = @set string / @remove #f / @invalid any . EnvValue = @set string / @remove #f / @invalid any .
RestartPolicy = RestartPolicy =
/ ; Whether the process terminates normally or abnormally, restart it / # Whether the process terminates normally or abnormally, restart it
; without affecting any peer processes within the service. # without affecting any peer processes within the service.
=always =always
/ ; If the process terminates normally, leave everything alone; if it / # If the process terminates normally, leave everything alone; if it
; terminates abnormally, restart it without affecting peers. # terminates abnormally, restart it without affecting peers.
@onError =on-error @onError =on-error
/ ; If the process terminates normally, leave everything alone; if it / # If the process terminates normally, leave everything alone; if it
; terminates abnormally, restart the whole daemon (all processes # terminates abnormally, restart the whole daemon (all processes
; within the daemon). # within the daemon).
=all =all
/ ; Treat both normal and abnormal termination as normal termination; that is, never restart, / # Treat both normal and abnormal termination as normal termination; that is, never restart,
; and enter state "complete" even if the process fails. # and enter state "complete" even if the process fails.
=never =never
. .
Protocol = Protocol =
/ ; stdin is /dev/null, output and error are logged / # stdin is /dev/null, output and error are logged
=none =none
/ ; stdin and stdout are *binary* Syndicate-protocol channels / # stdin and stdout are *binary* Syndicate-protocol channels
@binarySyndicate =application/syndicate @binarySyndicate =application/syndicate
/ ; stdin and stdout are *text* Syndicate-protocol channels / # stdin and stdout are *text* Syndicate-protocol channels
@textSyndicate =text/syndicate @textSyndicate =text/syndicate
. .

View File

@ -10,7 +10,7 @@ repository = "https://git.syndicate-lang.org/syndicate-lang/syndicate-rs"
license = "Apache-2.0" license = "Apache-2.0"
[dependencies] [dependencies]
preserves = "3.990" preserves = "4.991"
syndicate = { path = "../syndicate", version = "0.29.0"} syndicate = { path = "../syndicate", version = "0.29.0"}
clap = { version = "^4.0", features = ["derive"] } clap = { version = "^4.0", features = ["derive"] }

View File

@ -13,11 +13,11 @@ license = "Apache-2.0"
vendored-openssl = ["openssl/vendored"] vendored-openssl = ["openssl/vendored"]
[build-dependencies] [build-dependencies]
preserves-schema = "3.990" preserves-schema = "4.991"
[dependencies] [dependencies]
preserves = "3.990" preserves = "4.991"
preserves-schema = "3.990" preserves-schema = "4.991"
tokio = { version = "1.10", features = ["io-util", "macros", "rt", "rt-multi-thread", "time"] } tokio = { version = "1.10", features = ["io-util", "macros", "rt", "rt-multi-thread", "time"] }
tokio-util = "0.6" tokio-util = "0.6"