Skip to content

Commit 1365854

Browse files
committed
Add some metadata to ua-parser-py
While it's not really in need of documentation as it's an implementation detail of uap-python, opening the link to the dependency from the main package and seeing an empty page is rather suspicious. Adding info / metadata would, I hope and assume, assuage fears. Fixes #13
1 parent 2cd7c6a commit 1365854

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

ua-parser-py/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
[package]
22
name = "ua-parser-rs"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
license = "Apache 2.0"
6+
description = "A native accelerator for uap-python"
7+
repository = "https://github.com/ua-parser/uap-rust/"
8+
homepage = "https://github.com/ua-parser/uap-rust/blob/main/ua-parser/"
9+
authors = ["masklinn <[email protected]>"]
610

711
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
812
[lib]
913
name = "ua_parser_rs"
1014
crate-type = ["cdylib"]
1115

1216
[dependencies]
13-
pyo3 = { version = "0.22", features = ["extension-module", "abi3", "abi3-py38"] }
17+
pyo3 = { version = "0.22", features = ["extension-module", "abi3", "abi3-py39"] }
1418
ua-parser = { version = "0.2.0", path = "../ua-parser" }

ua-parser-py/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
a ua-parser accelerator
2+
=======================
3+
4+
This package is (currently) not intended to be used directly, instead
5+
it is one of the native accelerators for [ua-parser][1].
6+
7+
The API is very simplistic and should be pretty stable (if only
8+
because having to update [ua-parser][1] all the time is undesirable),
9+
but there is no formal guarantee that it'll keep, as the goal is
10+
really nothing more than a very basic export of [uap-rust][2] to
11+
Python.
12+
13+
[1]: https://pypi.org/project/ua-parser/
14+
[2]: https://crates.io/crates/ua-parser

0 commit comments

Comments
 (0)