1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
denoland-deno/ext/url/Cargo.toml
Aaron O'Mullan bf0bacbc0e
perf(ext/url): cleanup and optimize url parsing op args (#11763)
This splits the previous `op_url_parse` into:
- `op_url_parse`: parses a href with an optional base
- `op_url_reparse`: reparses a href with a modifier

This is a cleaner separation of concerns and it allows us to optimize & simplify args passed. Resulting in a 25% reduction in call overhead (~5000ns/call => ~3700ns/call in url_ops bench on my M1 Air)
2021-08-18 23:21:33 +02:00

29 lines
704 B
TOML

# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_url"
version = "0.15.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
readme = "README.md"
repository = "https://github.com/denoland/deno"
description = "URL API implementation for Deno"
[lib]
path = "lib.rs"
[dependencies]
deno_core = { version = "0.97.0", path = "../../core" }
idna = "0.2.3"
percent-encoding = "2.1.0"
serde = { version = "1.0.126", features = ["derive"] }
serde_repr = "0.1.7"
[dev-dependencies]
deno_bench_util = { version = "0.9.0", path = "../../bench_util" }
deno_webidl = { version = "0.15.0", path = "../webidl" }
[[bench]]
name = "url_ops"
harness = false