Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions ua-parser-py/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
[package]
name = "ua-parser-rs"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
license = "Apache 2.0"
description = "A native accelerator for uap-python"
repository = "https://github.com/ua-parser/uap-rust/"
homepage = "https://github.com/ua-parser/uap-rust/blob/main/ua-parser/"
authors = ["masklinn <[email protected]>"]

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

[dependencies]
pyo3 = { version = "0.22", features = ["extension-module", "abi3", "abi3-py38"] }
pyo3 = { version = "0.22", features = ["extension-module", "abi3", "abi3-py39"] }
ua-parser = { version = "0.2.0", path = "../ua-parser" }
14 changes: 14 additions & 0 deletions ua-parser-py/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
a ua-parser accelerator
=======================

This package is (currently) not intended to be used directly, instead
it is one of the native accelerators for [ua-parser][1].

The API is very simplistic and should be pretty stable (if only
because having to update [ua-parser][1] all the time is undesirable),
but there is no formal guarantee that it'll keep, as the goal is
really nothing more than a very basic export of [uap-rust][2] to
Python.

[1]: https://pypi.org/project/ua-parser/
[2]: https://crates.io/crates/ua-parser