-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
22 lines (20 loc) · 855 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[package]
name = "user-agent-parser"
version = "0.3.6"
authors = ["Magic Len <[email protected]>"]
edition = "2021"
rust-version = "1.69"
repository = "https://github.com/magiclen/user-agent-parser"
homepage = "https://magiclen.org/user-agent-parser"
keywords = ["useragent", "user-agent", "uap", "rocket", "uap-core"]
categories = ["parser-implementations"]
description = "A parser to get the product, OS, device, cpu, and engine information from a user agent, inspired by https://github.com/faisalman/ua-parser-js and https://github.com/ua-parser/uap-core"
license = "MIT"
include = ["src/**/*", "Cargo.toml", "README.md", "LICENSE", "examples/rocket.rs"]
[dependencies]
yaml-rust = "0.4"
onig = { version = "6", default-features = false }
rocket = { version = "0.5.0-rc.4", optional = true }
[[example]]
name = "rocket"
required-features = ["rocket"]