diff options
Diffstat (limited to 'Cargo.toml.orig')
-rw-r--r-- | Cargo.toml.orig | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/Cargo.toml.orig b/Cargo.toml.orig index e384659..39b90fa 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -2,7 +2,7 @@ name = "url" # When updating version, also modify html_root_url in the lib.rs -version = "2.2.2" +version = "2.3.1" authors = ["The rust-url developers"] description = "URL library for Rust, based on the WHATWG URL Standard" @@ -11,9 +11,10 @@ repository = "https://github.com/servo/rust-url" readme = "../README.md" keywords = ["url", "parser"] categories = ["parser-implementations", "web-programming", "encoding"] -license = "MIT/Apache-2.0" +license = "MIT OR Apache-2.0" include = ["src/**/*", "LICENSE-*", "README.md", "tests/**"] edition = "2018" +rust-version = "1.51" [badges] travis-ci = { repository = "servo/rust-url" } @@ -22,15 +23,31 @@ appveyor = { repository = "Manishearth/rust-url" } [dev-dependencies] serde_json = "1.0" bencher = "0.1" +# To test debugger visualizers defined for the url crate such as url.natvis +debugger_test = "0.1" +debugger_test_parser = "0.1" [dependencies] -form_urlencoded = { version = "1.0.0", path = "../form_urlencoded" } -idna = { version = "0.2.0", path = "../idna" } -matches = "0.1" -percent-encoding = { version = "2.1.0", path = "../percent_encoding" } +form_urlencoded = { version = "1.1.0", path = "../form_urlencoded" } +idna = { version = "0.3.0", path = "../idna" } +percent-encoding = { version = "2.2.0", path = "../percent_encoding" } serde = {version = "1.0", optional = true, features = ["derive"]} +[features] +default = [] +# UNSTABLE FEATURES (requires Rust nightly) +# Enable to use the #[debugger_visualizer] attribute. +debugger_visualizer = [] +# Expose internal offsets of the URL. +expose_internals = [] + [[bench]] name = "parse_url" path = "benches/parse_url.rs" harness = false + +[[test]] +name = "debugger_visualizer" +path = "tests/debugger_visualizer.rs" +required-features = ["debugger_visualizer"] +test = false |