Skip to content

Commit 3788f73

Browse files
committed
fix macro
1 parent dfbf604 commit 3788f73

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rocket-accept-language"
3-
version = "0.8.5"
3+
version = "0.8.6"
44
authors = ["Magic Len <len@magiclen.org>"]
55
edition = "2021"
66
rust-version = "1.69"
@@ -15,5 +15,4 @@ include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE"]
1515
[dependencies]
1616
rocket = "0.5"
1717
accept-language = "3"
18-
unic-langid = { version = "0.9", features = ["macros"] }
19-
unic-langid-macros = "0.9"
18+
unic-langid = { version = "0.9", features = ["macros"] }

src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ See `examples`.
88

99
pub extern crate rocket;
1010
pub extern crate unic_langid;
11-
pub extern crate unic_langid_macros;
1211

1312
mod macros;
1413

src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ macro_rules! language_region_pairs {
1010
#[macro_export]
1111
macro_rules! language {
1212
($id:expr) => {
13-
$crate::unic_langid_macros::lang!($id)
13+
$crate::unic_langid::lang!($id)
1414
};
1515
}
1616

1717
/// This macro can be used to create a `Region` instance constantly .
1818
#[macro_export]
1919
macro_rules! region {
2020
($id:expr) => {
21-
$crate::unic_langid_macros::region!($id)
21+
$crate::unic_langid::region!($id)
2222
};
2323
}

0 commit comments

Comments
 (0)