diff --git a/Cargo.toml b/Cargo.toml index 79c00d1e..b18aa326 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chromiumoxide" -version = "0.5.7" +version = "0.7.0" rust-version = "1.70" authors = ["Matthias Seitz "] edition = "2021" @@ -13,21 +13,21 @@ keywords = ["chrome", "chromedriver", "puppeteer", "automation"] categories = ["web-programming", "api-bindings", "development-tools::testing"] [dependencies] -async-tungstenite = "0.23" +async-tungstenite = "0.27.0" serde = { version = "1", features = ["derive"] } async-std = { version = "1.5", features = [ "attributes", "unstable", ], optional = true } futures = "0.3" -chromiumoxide_types = { path = "chromiumoxide_types", version = "0.5" } -chromiumoxide_cdp = { path = "chromiumoxide_cdp", version = "0.5" } -chromiumoxide_fetcher = { path = "chromiumoxide_fetcher", version = "0.5", default-features = false, optional = true } +chromiumoxide_types = { path = "chromiumoxide_types", version = "0.7" } +chromiumoxide_cdp = { path = "chromiumoxide_cdp", version = "0.7" } +chromiumoxide_fetcher = { path = "chromiumoxide_fetcher", version = "0.7", default-features = false, optional = true } serde_json = "1" -which = "4" +which = "6" thiserror = "1" url = "2" -base64 = "0.21" +base64 = "0.22" fnv = "1" futures-timer = "3" cfg-if = "1" @@ -42,11 +42,11 @@ tokio = { version = "1", features = [ tracing = "0.1" pin-project-lite = "0.2" dunce = "1" -bytes = { version = "1.4.0", features = ["serde"], optional = true } -reqwest = { version = "0.11.20", default-features = false } +bytes = { version = "1", features = ["serde"], optional = true } +reqwest = { version = "0.12", default-features = false } [target.'cfg(windows)'.dependencies] -winreg = "0.51" +winreg = "0.52" [dev-dependencies] quote = "1" @@ -61,6 +61,7 @@ async-std-runtime = ["async-std", "async-tungstenite/async-std-runtime"] tokio-runtime = ["tokio", "async-tungstenite/tokio-runtime"] fetcher = [] bytes = ["dep:bytes"] +serde0 = [] # Temporary features until cargo weak dependencies bug is fixed # See https://github.com/rust-lang/cargo/issues/10801 @@ -77,6 +78,10 @@ required-features = ["tokio-runtime"] name = "iframe-workaround" required-features = ["tokio-runtime", "tokio"] +[[example]] +name = "storage-cookie" +required-features = ["tokio-runtime"] + [[example]] name = "httpfuture" diff --git a/chromiumoxide_cdp/Cargo.toml b/chromiumoxide_cdp/Cargo.toml index 88d41422..fd055e49 100644 --- a/chromiumoxide_cdp/Cargo.toml +++ b/chromiumoxide_cdp/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chromiumoxide_cdp" -version = "0.5.2" +version = "0.7.0" authors = ["Matthias Seitz "] edition = "2021" rust-version = "1.70" @@ -11,13 +11,16 @@ repository = "https://github.com/mattsse/chromiumoxide" readme = "../README.md" include = ["src/**/*", "*.pdl", "LICENSE-*"] +[features] +serde0 = [] + [dev-dependencies] -chromiumoxide_pdl = { path = "../chromiumoxide_pdl", version = "0.5"} -ureq = "2.6.2" -tempfile = "3.2.0" +chromiumoxide_pdl = { path = "../chromiumoxide_pdl", version = "0.7" } +ureq = "2.10.0" +tempfile = "3.10.1" [dependencies] -chromiumoxide_pdl = { path = "../chromiumoxide_pdl", version = "0.5"} -chromiumoxide_types = { path = "../chromiumoxide_types", version = "0.5"} -serde = { version = "1.0.130", features = ["derive"] } -serde_json = "1.0.72" +chromiumoxide_pdl = { path = "../chromiumoxide_pdl", version = "0.7" } +chromiumoxide_types = { path = "../chromiumoxide_types", version = "0.7" } +serde = { version = "1", features = ["derive"] } +serde_json = "1" diff --git a/chromiumoxide_cdp/browser_protocol.pdl b/chromiumoxide_cdp/browser_protocol.pdl index 01a22c24..77608eef 100644 --- a/chromiumoxide_cdp/browser_protocol.pdl +++ b/chromiumoxide_cdp/browser_protocol.pdl @@ -1,4 +1,4 @@ -# Copyright 2017 The Chromium Authors. All rights reserved. +# Copyright 2017 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # @@ -72,7 +72,7 @@ experimental domain Accessibility optional AXValue attributeValue # Whether this source is superseded by a higher priority source. optional boolean superseded - # The native markup source for this value, e.g. a