mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-06 14:27:39 +03:00
use ntex-bytes instead of bytes
This commit is contained in:
parent
0b2dda93be
commit
0f796c7642
18 changed files with 34 additions and 24 deletions
ntex-router
|
@ -1,5 +1,9 @@
|
|||
# Changes
|
||||
|
||||
## [0.5.0] - 2021-07-xx
|
||||
|
||||
* Use ntex-bytes instead of bytestring
|
||||
|
||||
## [0.4.4] - 2021-06-14
|
||||
|
||||
* Fix search order for normal and prefix paths
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "ntex-router"
|
||||
version = "0.4.4"
|
||||
version = "0.5.0"
|
||||
authors = ["ntex contributors <team@ntex.rs>"]
|
||||
description = "Path router"
|
||||
keywords = ["ntex"]
|
||||
|
@ -18,7 +18,7 @@ default = ["http"]
|
|||
|
||||
[dependencies]
|
||||
serde = "1.0"
|
||||
bytestring = "1.0"
|
||||
ntex-bytes = "0.1"
|
||||
log = "0.4"
|
||||
http = { version = "0.2", optional = true }
|
||||
regex = { version = "1.5.4", default-features = false, features = ["std"] }
|
||||
|
|
|
@ -39,7 +39,7 @@ impl<'a> ResourcePath for &'a str {
|
|||
}
|
||||
}
|
||||
|
||||
impl ResourcePath for bytestring::ByteString {
|
||||
impl ResourcePath for ntex_bytes::ByteString {
|
||||
fn path(&self) -> &str {
|
||||
&*self
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue