diff --git a/submissions-api-rs/Cargo.lock b/submissions-api-rs/Cargo.lock index 1fa7849..d8ae73c 100644 --- a/submissions-api-rs/Cargo.lock +++ b/submissions-api-rs/Cargo.lock @@ -952,7 +952,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "submissions-api" -version = "0.2.0" +version = "0.2.1" dependencies = [ "reqwest", "serde", diff --git a/submissions-api-rs/Cargo.toml b/submissions-api-rs/Cargo.toml index 9f6d33d..40b9e87 100644 --- a/submissions-api-rs/Cargo.toml +++ b/submissions-api-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "submissions-api" -version = "0.2.0" +version = "0.2.1" edition = "2021" publish = ["strafesnet"] repository = "https://git.itzana.me/StrafesNET/maps-service" @@ -17,4 +17,6 @@ serde_json = "1" url = "2" [features] +default = ["external"] internal = [] +external = [] diff --git a/submissions-api-rs/src/lib.rs b/submissions-api-rs/src/lib.rs index 1af5267..c6666e9 100644 --- a/submissions-api-rs/src/lib.rs +++ b/submissions-api-rs/src/lib.rs @@ -3,6 +3,7 @@ mod context; #[cfg(feature="internal")] pub mod internal; +#[cfg(feature="external")] pub mod external; //lazy reexport diff --git a/validation/Cargo.lock b/validation/Cargo.lock index baa517a..7ddac92 100644 --- a/validation/Cargo.lock +++ b/validation/Cargo.lock @@ -1804,9 +1804,9 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "submissions-api" -version = "0.2.0" +version = "0.2.1" source = "sparse+https://git.itzana.me/api/packages/strafesnet/cargo/" -checksum = "9d08d54792de7f1ddabbad0202c66536e14e8965fc3a6f9230179a0270440a08" +checksum = "b19f7aa92e0680fe206048851ca21761be56de415a5071f37c368c045a95f839" dependencies = [ "reqwest", "serde", diff --git a/validation/Cargo.toml b/validation/Cargo.toml index 4aa4cec..735ad79 100644 --- a/validation/Cargo.toml +++ b/validation/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -submissions-api = { version = "0.2.0", features = ["internal"], registry = "strafesnet" } +submissions-api = { version = "0.2.1", features = ["internal","external"], registry = "strafesnet" } async-nats = "0.38.0" futures = "0.3.31" rbx_asset = { version = "0.2.5", registry = "strafesnet" }