diff --git a/Cargo.lock b/Cargo.lock index 1054e49..5edd8b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1481,9 +1481,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "preserves" -version = "3.990.0" +version = "4.991.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9dcce38db440a6d301aaf73f6692d1ca1a6cea5c2e5b2f5ac29fabbeb3dab15" +checksum = "b4a244356924e0324af5205b20c03a203f4364640f816787bea3792b71eb4fd1" dependencies = [ "base64", "dtoa", @@ -1496,9 +1496,9 @@ dependencies = [ [[package]] name = "preserves-schema" -version = "3.990.0" +version = "4.991.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830a3c2c01f2c2420ad5df48cf48fdb20bcfce797fb75e6294d3378d2a100e92" +checksum = "12225b6104827dc6d513f7f418cbe1fa9399a54f699c34d03eec706fb8fb41c0" dependencies = [ "convert_case", "glob", diff --git a/syndicate-server/Cargo.toml b/syndicate-server/Cargo.toml index ac1df93..5ca351e 100644 --- a/syndicate-server/Cargo.toml +++ b/syndicate-server/Cargo.toml @@ -13,11 +13,11 @@ license = "Apache-2.0" jemalloc = ["dep:tikv-jemallocator"] [build-dependencies] -preserves-schema = "3.990" +preserves-schema = "4.991" syndicate = { path = "../syndicate", version = "0.29.0"} [dependencies] -preserves-schema = "3.990" +preserves-schema = "4.991" syndicate = { path = "../syndicate", version = "0.29.0"} syndicate-macros = { path = "../syndicate-macros", version = "0.24.0"} diff --git a/syndicate-server/protocols/schemas/documentation.prs b/syndicate-server/protocols/schemas/documentation.prs index 2369728..3b99f11 100644 --- a/syndicate-server/protocols/schemas/documentation.prs +++ b/syndicate-server/protocols/schemas/documentation.prs @@ -1,11 +1,11 @@ version 1 . -; Assertion. Describes `object`. +# Assertion. Describes `object`. Metadata = . -; Projections of the `info` in a `Metadata` record. +# Projections of the `info` in a `Metadata` record. Description = @present { description: IOList } / @invalid { description: 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 ...] . diff --git a/syndicate-server/protocols/schemas/externalServices.prs b/syndicate-server/protocols/schemas/externalServices.prs index dcfde99..c86db14 100644 --- a/syndicate-server/protocols/schemas/externalServices.prs +++ b/syndicate-server/protocols/schemas/externalServices.prs @@ -30,26 +30,26 @@ EnvVariable = @string string / @symbol symbol / @invalid any . EnvValue = @set string / @remove #f / @invalid any . RestartPolicy = -/ ; Whether the process terminates normally or abnormally, restart it - ; without affecting any peer processes within the service. +/ # Whether the process terminates normally or abnormally, restart it + # without affecting any peer processes within the service. =always -/ ; If the process terminates normally, leave everything alone; if it - ; terminates abnormally, restart it without affecting peers. +/ # If the process terminates normally, leave everything alone; if it + # terminates abnormally, restart it without affecting peers. @onError =on-error -/ ; If the process terminates normally, leave everything alone; if it - ; terminates abnormally, restart the whole daemon (all processes - ; within the daemon). +/ # If the process terminates normally, leave everything alone; if it + # terminates abnormally, restart the whole daemon (all processes + # within the daemon). =all -/ ; Treat both normal and abnormal termination as normal termination; that is, never restart, - ; and enter state "complete" even if the process fails. +/ # Treat both normal and abnormal termination as normal termination; that is, never restart, + # and enter state "complete" even if the process fails. =never . Protocol = -/ ; stdin is /dev/null, output and error are logged +/ # stdin is /dev/null, output and error are logged =none -/ ; stdin and stdout are *binary* Syndicate-protocol channels +/ # stdin and stdout are *binary* Syndicate-protocol channels @binarySyndicate =application/syndicate -/ ; stdin and stdout are *text* Syndicate-protocol channels +/ # stdin and stdout are *text* Syndicate-protocol channels @textSyndicate =text/syndicate . diff --git a/syndicate-tools/Cargo.toml b/syndicate-tools/Cargo.toml index b37e4ca..fddc7ce 100644 --- a/syndicate-tools/Cargo.toml +++ b/syndicate-tools/Cargo.toml @@ -10,7 +10,7 @@ repository = "https://git.syndicate-lang.org/syndicate-lang/syndicate-rs" license = "Apache-2.0" [dependencies] -preserves = "3.990" +preserves = "4.991" syndicate = { path = "../syndicate", version = "0.29.0"} clap = { version = "^4.0", features = ["derive"] } diff --git a/syndicate/Cargo.toml b/syndicate/Cargo.toml index 8a6f053..d8d0f9c 100644 --- a/syndicate/Cargo.toml +++ b/syndicate/Cargo.toml @@ -13,11 +13,11 @@ license = "Apache-2.0" vendored-openssl = ["openssl/vendored"] [build-dependencies] -preserves-schema = "3.990" +preserves-schema = "4.991" [dependencies] -preserves = "3.990" -preserves-schema = "3.990" +preserves = "4.991" +preserves-schema = "4.991" tokio = { version = "1.10", features = ["io-util", "macros", "rt", "rt-multi-thread", "time"] } tokio-util = "0.6"