diff --git a/Cargo.lock b/Cargo.lock index f6aeaa5..f072e60 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -62,10 +62,10 @@ checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "amp-client" -version = "0.7.6" -source = "git+https://github.com/amphitheatre-app/amp-client-rust?tag=v0.7.6#082f4db7d0668b8249e1cb7f3e744149711e9ee3" +version = "0.7.7" +source = "git+https://github.com/amphitheatre-app/amp-client-rust?tag=v0.7.7#d4fb2c19c3776538e35b28766f4fc45b48861660" dependencies = [ - "amp-common", + "amp-common 0.7.8", "futures", "reqwest-eventsource", "serde", @@ -85,8 +85,36 @@ dependencies = [ "data-encoding", "dirs", "json_comments", - "k8s-openapi", - "kube", + "k8s-openapi 0.20.0", + "kube 0.87.2", + "notify", + "oci-distribution", + "schemars", + "serde", + "serde_json", + "thiserror", + "toml", + "tracing", + "ureq", + "url", + "utoipa", + "validator", +] + +[[package]] +name = "amp-common" +version = "0.7.8" +source = "git+https://github.com/amphitheatre-app/common?tag=v0.7.8#b7de0fe17a98c7811db404b0b87772f1aa3e7e75" +dependencies = [ + "anyhow", + "chrono", + "confy", + "convert_case", + "data-encoding", + "dirs", + "json_comments", + "k8s-openapi 0.21.0", + "kube 0.88.1", "notify", "oci-distribution", "schemars", @@ -1290,6 +1318,19 @@ dependencies = [ "thiserror", ] +[[package]] +name = "jsonpath-rust" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96acbc6188d3bd83519d053efec756aa4419de62ec47be7f28dec297f7dc9eb0" +dependencies = [ + "pest", + "pest_derive", + "regex", + "serde_json", + "thiserror", +] + [[package]] name = "jwt" version = "0.16.0" @@ -1320,6 +1361,20 @@ dependencies = [ "serde_json", ] +[[package]] +name = "k8s-openapi" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "301f367a36090b7dfdaac248ee3ed4f14a6a8292e7bec0f1c5e6e2e1f181cd33" +dependencies = [ + "base64 0.21.7", + "chrono", + "schemars", + "serde", + "serde-value", + "serde_json", +] + [[package]] name = "kqueue" version = "1.0.8" @@ -1346,11 +1401,24 @@ version = "0.87.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3499c8d60c763246c7a213f51caac1e9033f46026904cb89bc8951ae8601f26e" dependencies = [ - "k8s-openapi", - "kube-client", - "kube-core", - "kube-derive", - "kube-runtime", + "k8s-openapi 0.20.0", + "kube-client 0.87.2", + "kube-core 0.87.2", + "kube-derive 0.87.2", + "kube-runtime 0.87.2", +] + +[[package]] +name = "kube" +version = "0.88.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "462fe330a0617b276ec864c2255810adcdf519ecb6844253c54074b2086a97bc" +dependencies = [ + "k8s-openapi 0.21.0", + "kube-client 0.88.1", + "kube-core 0.88.1", + "kube-derive 0.88.1", + "kube-runtime 0.88.1", ] [[package]] @@ -1370,9 +1438,45 @@ dependencies = [ "hyper 0.14.28", "hyper-rustls", "hyper-timeout", - "jsonpath-rust", - "k8s-openapi", - "kube-core", + "jsonpath-rust 0.3.5", + "k8s-openapi 0.20.0", + "kube-core 0.87.2", + "pem", + "pin-project", + "rustls", + "rustls-pemfile", + "secrecy", + "serde", + "serde_json", + "serde_yaml", + "thiserror", + "tokio", + "tokio-util", + "tower", + "tower-http 0.4.4", + "tracing", +] + +[[package]] +name = "kube-client" +version = "0.88.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fe0d65dd6f3adba29cfb84f19dfe55449c7f6c35425f9d8294bec40313e0b64" +dependencies = [ + "base64 0.21.7", + "bytes", + "chrono", + "either", + "futures", + "home", + "http 0.2.11", + "http-body 0.4.6", + "hyper 0.14.28", + "hyper-rustls", + "hyper-timeout", + "jsonpath-rust 0.4.0", + "k8s-openapi 0.21.0", + "kube-core 0.88.1", "pem", "pin-project", "rustls", @@ -1399,7 +1503,25 @@ dependencies = [ "form_urlencoded", "http 0.2.11", "json-patch", - "k8s-openapi", + "k8s-openapi 0.20.0", + "once_cell", + "schemars", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "kube-core" +version = "0.88.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6b42844e9172f631b8263ea9ce003b9251da13beb1401580937ad206dd82f4c" +dependencies = [ + "chrono", + "form_urlencoded", + "http 0.2.11", + "json-patch", + "k8s-openapi 0.21.0", "once_cell", "schemars", "serde", @@ -1420,6 +1542,19 @@ dependencies = [ "syn 2.0.48", ] +[[package]] +name = "kube-derive" +version = "0.88.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5b5a111ee287bd237b8190b8c39543ea9fd22f79e9c32a36c24e08234bcda22" +dependencies = [ + "darling", + "proc-macro2", + "quote", + "serde_json", + "syn 2.0.48", +] + [[package]] name = "kube-runtime" version = "0.87.2" @@ -1433,8 +1568,34 @@ dependencies = [ "futures", "hashbrown 0.14.3", "json-patch", - "k8s-openapi", - "kube-client", + "k8s-openapi 0.20.0", + "kube-client 0.87.2", + "parking_lot", + "pin-project", + "serde", + "serde_json", + "smallvec", + "thiserror", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "kube-runtime" +version = "0.88.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2bc06275064c81056fbb28ea876b3fb339d970e8132282119359afca0835c0ea" +dependencies = [ + "ahash", + "async-trait", + "backoff", + "derivative", + "futures", + "hashbrown 0.14.3", + "json-patch", + "k8s-openapi 0.21.0", + "kube-client 0.88.1", "parking_lot", "pin-project", "serde", @@ -1812,7 +1973,7 @@ name = "playground-api" version = "0.2.1" dependencies = [ "amp-client", - "amp-common", + "amp-common 0.7.7", "anyhow", "axum", "chrono", diff --git a/Cargo.toml b/Cargo.toml index f358749..58740a3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ name = "playground" path = "src/lib.rs" [dependencies] -amp-client = { git = "https://github.com/amphitheatre-app/amp-client-rust", tag = "v0.7.6" } +amp-client = { git = "https://github.com/amphitheatre-app/amp-client-rust", tag = "v0.7.7" } amp-common = { git = "https://github.com/amphitheatre-app/common", tag = "v0.7.7" } anyhow = "1.0" axum = { version = "0.7.4" }