Skip to content

Commit

Permalink
Merge branch 'main' into skip-parsing-errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Oct 24, 2024
2 parents 2c9ba9f + b827ad8 commit bd3f23b
Show file tree
Hide file tree
Showing 25 changed files with 64,600 additions and 45,833 deletions.
24 changes: 16 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chromiumoxide"
version = "0.5.7"
version = "0.7.0"
rust-version = "1.70"
authors = ["Matthias Seitz <[email protected]>"]
edition = "2021"
Expand All @@ -13,18 +13,18 @@ keywords = ["chrome", "chromedriver", "puppeteer", "automation"]
categories = ["web-programming", "api-bindings", "development-tools::testing"]

[dependencies]
async-tungstenite = "0.25"
async-tungstenite = "0.28.0"
serde = { version = "1", features = ["derive"] }
async-std = { version = "1.5", features = [
async-std = { version = "1", 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.22"
Expand All @@ -42,7 +42,7 @@ tokio = { version = "1", features = [
tracing = "0.1"
pin-project-lite = "0.2"
dunce = "1"
bytes = { version = "1.4.0", features = ["serde"], optional = true }
bytes = { version = "1", features = ["serde"], optional = true }
reqwest = { version = "0.12", default-features = false }

[target.'cfg(windows)'.dependencies]
Expand All @@ -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
Expand All @@ -77,6 +78,13 @@ required-features = ["tokio-runtime"]
name = "iframe-workaround"
required-features = ["tokio-runtime", "tokio"]

[[example]]
name = "storage-cookie"
required-features = ["tokio-runtime"]

[[example]]
name = "console-logs"
required-features = ["tokio-runtime"]

[[example]]
name = "httpfuture"
Expand Down
19 changes: 11 additions & 8 deletions chromiumoxide_cdp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chromiumoxide_cdp"
version = "0.5.2"
version = "0.7.0"
authors = ["Matthias Seitz <[email protected]>"]
edition = "2021"
rust-version = "1.70"
Expand All @@ -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"
Loading

0 comments on commit bd3f23b

Please sign in to comment.