diff --git a/Cargo.lock b/Cargo.lock index 6dceaf01..3688be30 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2592,28 +2592,6 @@ dependencies = [ "syn 2.0.111", ] -[[package]] -name = "tokio-stream" -version = "0.1.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca58d7bba4a75707817a2c44174253f9236b2d5fbd055602e9d5c07c139a047" -dependencies = [ - "futures-core", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "tokio-test" -version = "0.4.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f6d24790a10a7af737693a3e8f1d03faef7e6ca0cc99aae5066f533766de545" -dependencies = [ - "futures-core", - "tokio", - "tokio-stream", -] - [[package]] name = "toml" version = "0.9.8" @@ -2726,10 +2704,7 @@ dependencies = [ "futures", "log", "log-fastly", - "serde", - "serde_json", "trusted-server-core", - "trusted-server-js", ] [[package]] @@ -2758,10 +2733,8 @@ dependencies = [ "iab_gpp", "jose-jwk", "log", - "log-fastly", "lol_html", "matchit", - "pin-project-lite", "rand", "regex", "serde", @@ -2770,7 +2743,6 @@ dependencies = [ "subtle", "temp-env", "tokio", - "tokio-test", "toml 1.0.7+spec-1.1.0", "trusted-server-js", "trusted-server-openrtb", diff --git a/Cargo.toml b/Cargo.toml index c3a35154..0b9f4230 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,7 +65,6 @@ fastly = "0.11.12" fern = "0.7.1" flate2 = "1.1" futures = "0.3" -handlebars = "6.4.0" hex = "0.4.3" hmac = "0.12.1" http = "1.4.0" @@ -75,7 +74,6 @@ log = "0.4.29" log-fastly = "0.11.12" lol_html = "2.7.2" matchit = "0.9" -pin-project-lite = "0.2" rand = "0.8" regex = "1.12.3" serde = { version = "1.0", features = ["derive"] } @@ -84,8 +82,8 @@ sha2 = "0.10.9" subtle = "2.6" temp-env = "0.3.6" tokio = { version = "1.49", features = ["sync", "macros", "io-util", "rt", "time"] } -tokio-test = "0.4" toml = "1.0" +trusted-server-core = { path = "crates/trusted-server-core" } url = "2.5.8" urlencoding = "2.1" uuid = { version = "1.18", features = ["v4"] } diff --git a/crates/js/Cargo.toml b/crates/js/Cargo.toml index 905f9304..919a600a 100644 --- a/crates/js/Cargo.toml +++ b/crates/js/Cargo.toml @@ -10,8 +10,10 @@ build = "build.rs" workspace = true [lib] +doctest = false name = "trusted_server_js" path = "src/lib.rs" +test = false [package.metadata] repository = "https://example.invalid/trusted-server" diff --git a/crates/openrtb/Cargo.toml b/crates/openrtb/Cargo.toml index f139dd1c..751dc179 100644 --- a/crates/openrtb/Cargo.toml +++ b/crates/openrtb/Cargo.toml @@ -6,6 +6,9 @@ edition = "2024" publish = false license = "Apache-2.0" +[lib] +doctest = false + [lints] workspace = true diff --git a/crates/trusted-server-adapter-fastly/Cargo.toml b/crates/trusted-server-adapter-fastly/Cargo.toml index 7be7c275..040c3620 100644 --- a/crates/trusted-server-adapter-fastly/Cargo.toml +++ b/crates/trusted-server-adapter-fastly/Cargo.toml @@ -17,10 +17,7 @@ fern = { workspace = true } futures = { workspace = true } log = { workspace = true } log-fastly = { workspace = true } -serde = { workspace = true } -serde_json = { workspace = true } -trusted-server-core = { path = "../trusted-server-core" } -trusted-server-js = { path = "../js" } +trusted-server-core = {workspace = true} [dev-dependencies] edgezero-core = { workspace = true, features = ["test-utils"] } diff --git a/crates/trusted-server-core/Cargo.toml b/crates/trusted-server-core/Cargo.toml index c9c538fd..9c69bd30 100644 --- a/crates/trusted-server-core/Cargo.toml +++ b/crates/trusted-server-core/Cargo.toml @@ -32,10 +32,8 @@ iab_gpp = { workspace = true } jose-jwk = { workspace = true } log = { workspace = true } rand = { workspace = true } -log-fastly = { workspace = true } lol_html = { workspace = true } matchit = { workspace = true } -pin-project-lite = { workspace = true } regex = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } @@ -72,7 +70,6 @@ default = [] criterion = { workspace = true } edgezero-core = { workspace = true, features = ["test-utils"] } temp-env = { workspace = true } -tokio-test = { workspace = true } [[bench]] name = "consent_decode"