Bump preserves-schema dep

This commit is contained in:
Tony Garnock-Jones 2023-11-18 16:29:25 +01:00
parent fe861e516f
commit 06f16d42ec
6 changed files with 19 additions and 19 deletions

20
Cargo.lock generated
View File

@ -317,9 +317,9 @@ dependencies = [
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.4.7" version = "4.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac495e00dcec98c83465d5ad66c5c4fabd652fd6686e7c6269b117e729a6f17b" checksum = "2275f18819641850fa26c89acc84d465c1bf91ce57bc2748b28c420473352f64"
dependencies = [ dependencies = [
"clap_builder", "clap_builder",
"clap_derive", "clap_derive",
@ -327,9 +327,9 @@ dependencies = [
[[package]] [[package]]
name = "clap_builder" name = "clap_builder"
version = "4.4.7" version = "4.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c77ed9a32a62e6ca27175d00d29d05ca32e396ea1eb5fb01d8256b669cec7663" checksum = "07cdf1b148b25c1e1f7a42225e30a0d99a615cd4637eae7365548dd4529b95bc"
dependencies = [ dependencies = [
"anstream", "anstream",
"anstyle", "anstyle",
@ -343,7 +343,7 @@ version = "4.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bffe91f06a11b4b9420f62103854e90867812cd5d01557f853c5ee8e791b12ae" checksum = "bffe91f06a11b4b9420f62103854e90867812cd5d01557f853c5ee8e791b12ae"
dependencies = [ dependencies = [
"clap 4.4.7", "clap 4.4.8",
] ]
[[package]] [[package]]
@ -818,9 +818,9 @@ dependencies = [
[[package]] [[package]]
name = "http" name = "http"
version = "0.2.10" version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f95b9abcae896730d42b78e09c155ed4ddf82c07b4de772c64aee5b2d8b7c150" checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb"
dependencies = [ dependencies = [
"bytes", "bytes",
"fnv", "fnv",
@ -1492,9 +1492,9 @@ dependencies = [
[[package]] [[package]]
name = "preserves-schema" name = "preserves-schema"
version = "4.992.0" version = "5.992.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "664ffedfcc230ae69a43aecee85aee6d634be501f96928d12ec875e6d3d9533d" checksum = "ff2774b8d2df1924ffcac0afe9526b8d8c35841af18ae42879c18e0f9df8b45c"
dependencies = [ dependencies = [
"convert_case", "convert_case",
"glob", "glob",
@ -1956,7 +1956,7 @@ dependencies = [
name = "syndicate-tools" name = "syndicate-tools"
version = "0.9.0" version = "0.9.0"
dependencies = [ dependencies = [
"clap 4.4.7", "clap 4.4.8",
"clap_complete", "clap_complete",
"noise-protocol", "noise-protocol",
"noise-rust-crypto", "noise-rust-crypto",

View File

@ -12,7 +12,7 @@ license = "Apache-2.0"
[lib] [lib]
[dependencies] [dependencies]
preserves-schema = "4.992.0" preserves-schema = "5.992"
syndicate = { path = "../syndicate", version = "0.31.0"} syndicate = { path = "../syndicate", version = "0.31.0"}
[package.metadata.workspaces] [package.metadata.workspaces]

View File

@ -13,12 +13,12 @@ license = "Apache-2.0"
jemalloc = ["dep:tikv-jemallocator"] jemalloc = ["dep:tikv-jemallocator"]
[build-dependencies] [build-dependencies]
preserves-schema = "4.992" preserves-schema = "5.992"
syndicate = { path = "../syndicate", version = "0.31.0"} syndicate = { path = "../syndicate", version = "0.31.0"}
syndicate-schema-plugin = { path = "../syndicate-schema-plugin", version = "0.2.0"} syndicate-schema-plugin = { path = "../syndicate-schema-plugin", version = "0.2.0"}
[dependencies] [dependencies]
preserves-schema = "4.992" preserves-schema = "5.992"
syndicate = { path = "../syndicate", version = "0.31.0"} syndicate = { path = "../syndicate", version = "0.31.0"}
syndicate-macros = { path = "../syndicate-macros", version = "0.25.0"} syndicate-macros = { path = "../syndicate-macros", version = "0.25.0"}

View File

@ -6,7 +6,7 @@ fn main() -> std::io::Result<()> {
let mut gen_dir = buildroot.clone(); let mut gen_dir = buildroot.clone();
gen_dir.push("src/schemas"); gen_dir.push("src/schemas");
let mut c = CompilerConfig::new(gen_dir, "crate::schemas".to_owned()); let mut c = CompilerConfig::new("crate::schemas".to_owned());
c.plugins.push(Box::new(syndicate_schema_plugin::PatternPlugin)); c.plugins.push(Box::new(syndicate_schema_plugin::PatternPlugin));
c.add_external_module(ExternalModule::new(vec!["EntityRef".to_owned()], "syndicate::actor")); c.add_external_module(ExternalModule::new(vec!["EntityRef".to_owned()], "syndicate::actor"));
c.add_external_module( c.add_external_module(
@ -28,5 +28,5 @@ fn main() -> std::io::Result<()> {
let inputs = expand_inputs(&vec!["protocols/schema-bundle.bin".to_owned()])?; let inputs = expand_inputs(&vec!["protocols/schema-bundle.bin".to_owned()])?;
c.load_schemas_and_bundles(&inputs, &vec![])?; c.load_schemas_and_bundles(&inputs, &vec![])?;
c.load_xref_bin("syndicate", syndicate::schemas::_bundle())?; c.load_xref_bin("syndicate", syndicate::schemas::_bundle())?;
compile(&c) compile(&c, &mut CodeCollector::files(gen_dir))
} }

View File

@ -13,11 +13,11 @@ license = "Apache-2.0"
vendored-openssl = ["openssl/vendored"] vendored-openssl = ["openssl/vendored"]
[build-dependencies] [build-dependencies]
preserves-schema = "4.992" preserves-schema = "5.992"
[dependencies] [dependencies]
preserves = "4.992" preserves = "4.992"
preserves-schema = "4.992" preserves-schema = "5.992"
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"

View File

@ -26,11 +26,11 @@ fn main() -> std::io::Result<()> {
let mut gen_dir = buildroot.clone(); let mut gen_dir = buildroot.clone();
gen_dir.push("src/schemas"); gen_dir.push("src/schemas");
let mut c = CompilerConfig::new(gen_dir, "crate::schemas".to_owned()); let mut c = CompilerConfig::new("crate::schemas".to_owned());
c.plugins.push(Box::new(syndicate_plugins::PatternPlugin)); c.plugins.push(Box::new(syndicate_plugins::PatternPlugin));
c.add_external_module(ExternalModule::new(vec!["EntityRef".to_owned()], "crate::actor")); c.add_external_module(ExternalModule::new(vec!["EntityRef".to_owned()], "crate::actor"));
let inputs = expand_inputs(&vec!["protocols/schema-bundle.bin".to_owned()])?; let inputs = expand_inputs(&vec!["protocols/schema-bundle.bin".to_owned()])?;
c.load_schemas_and_bundles(&inputs, &vec![])?; c.load_schemas_and_bundles(&inputs, &vec![])?;
compile(&c) compile(&c, &mut CodeCollector::files(gen_dir))
} }