-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
35 lines (29 loc) · 1 KB
/
Cargo.toml
File metadata and controls
35 lines (29 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "iri-string"
version = "0.3.0"
authors = ["YOSHIOKA Takuma <lo48576@hard-wi.red>"]
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
description = "IRI as string types"
repository = "https://github.com/lo48576/iri-string"
keywords = ["IRI", "URI"]
[package.metadata.docs.rs]
all-features = true
[features]
default = ["nom-std", "std"]
alloc = ["serde/alloc"]
# `std` does not enable `nom/std`, because `iri-string` itself does not need
# `alloc` or `std` feature of `nom` even when the `std` feature is enabled.
# However, with `nom/std` enabled, `memchr` will use runtime CPU detection and
# parsing will be faster.
nom-std=["std", "nom/std"]
std = ["alloc", "serde/std"]
[dependencies]
nom = { version = "5", default-features = false }
serde = { version = "1.0.103", default-features = false, features = ["derive"], optional = true }
[dev-dependencies]
serde_test = "1.0.104"
[badges]
maintenance = { status = "actively-developed" }
travis-ci = { repository = "lo48576/iri-string" }