| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.68" |
| 15 |
name = "fluent-uri" |
| 16 |
version = "0.4.1" |
| 17 |
authors = ["Scallop Ye <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "A generic URI/IRI handling library compliant with RFC 3986/3987." |
| 25 |
documentation = "https://docs.rs/fluent-uri" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"builder", |
| 29 |
"parser", |
| 30 |
"uri", |
| 31 |
"iri", |
| 32 |
] |
| 33 |
categories = [ |
| 34 |
"encoding", |
| 35 |
"parser-implementations", |
| 36 |
] |
| 37 |
license = "MIT" |
| 38 |
repository = "https://github.com/yescallop/fluent-uri-rs" |
| 39 |
|
| 40 |
[package.metadata.docs.rs] |
| 41 |
all-features = true |
| 42 |
targets = ["x86_64-unknown-linux-gnu"] |
| 43 |
rustdoc-args = [ |
| 44 |
"--cfg", |
| 45 |
"docsrs", |
| 46 |
] |
| 47 |
|
| 48 |
[features] |
| 49 |
alloc = [ |
| 50 |
"borrow-or-share/alloc", |
| 51 |
"serde?/alloc", |
| 52 |
] |
| 53 |
default = ["std"] |
| 54 |
impl-error = [] |
| 55 |
net = [] |
| 56 |
std = [ |
| 57 |
"alloc", |
| 58 |
"impl-error", |
| 59 |
] |
| 60 |
|
| 61 |
[lib] |
| 62 |
name = "fluent_uri" |
| 63 |
path = "src/lib.rs" |
| 64 |
|
| 65 |
[[test]] |
| 66 |
name = "convert" |
| 67 |
path = "tests/convert.rs" |
| 68 |
|
| 69 |
[[test]] |
| 70 |
name = "normalize" |
| 71 |
path = "tests/normalize.rs" |
| 72 |
|
| 73 |
[[test]] |
| 74 |
name = "parse" |
| 75 |
path = "tests/parse.rs" |
| 76 |
|
| 77 |
[[test]] |
| 78 |
name = "parse_ip" |
| 79 |
path = "tests/parse_ip.rs" |
| 80 |
|
| 81 |
[[test]] |
| 82 |
name = "resolve" |
| 83 |
path = "tests/resolve.rs" |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "to_socket_addrs" |
| 87 |
path = "tests/to_socket_addrs.rs" |
| 88 |
|
| 89 |
[dependencies.borrow-or-share] |
| 90 |
version = "0.2.4" |
| 91 |
default-features = false |
| 92 |
|
| 93 |
[dependencies.ref-cast] |
| 94 |
version = "1.0" |
| 95 |
|
| 96 |
[dependencies.serde] |
| 97 |
version = "1.0" |
| 98 |
optional = true |
| 99 |
default-features = false |
| 100 |
|
| 101 |
[lints.rust.unexpected_cfgs] |
| 102 |
level = "warn" |
| 103 |
priority = 0 |
| 104 |
check-cfg = ["cfg(fluent_uri_unstable, fuzzing)"] |