# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies # # If you believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "nuclear-router" version = "0.1.0" authors = ["Nugine "] description = "A URL router library with focus on speed" license = "MIT" repository = "https://github.com/Nugine/nuclear-router" [[bench]] name = "router" harness = false [dependencies.http] version = "0.2" optional = true [dependencies.hyper] version = "0.13" optional = true [dependencies.smallvec] version = "1.1" [dependencies.thiserror] version = "1.0" [dev-dependencies.criterion] version = "0.3.1" [dev-dependencies.tokio] version = "0.2.11" features = ["macros"] [features] default = ["http-router", "hyper-service"] http-router = ["http"] hyper-service = ["http-router", "hyper"]