-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (36 loc) · 1.22 KB
/
Cargo.toml
File metadata and controls
42 lines (36 loc) · 1.22 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
36
37
38
39
40
41
42
[package]
name = "otdrs"
version = "1.1.1"
authors = ["James Harrison <james@talkunafraid.co.uk>"]
edition = "2024"
description = "otdrs is a tool to convert OTDR Bellcore SOR files to Serdes-compatible structs and JSON/CBOR thereafter, usable as a Rust library or as a standalone tool; it can also write SORs from Rust data structures"
license = "LGPL-3.0"
documentation = "https://github.com/JamesHarrison/otdrs"
homepage = "https://github.com/JamesHarrison/otdrs"
repository = "https://github.com/JamesHarrison/otdrs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
nom = "8.0.0"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_cbor = "0.11.2"
clap = { version = "4.5.45", features = ["derive"] }
crc = "3.3.0"
arbitrary = { version = "1.4.2", optional = true, features = ["derive"] }
[dependencies.pyo3]
version = "0.25.1"
features = ["extension-module", "abi3-py37"]
optional = true
[features]
python = ["dep:pyo3"]
arbitrary = ["dep:arbitrary"]
[lib]
name = "otdrs"
path = "src/lib.rs"
crate-type = ["cdylib", "lib"] # cdylib is required for the Python builds
[[bin]]
name = "otdrs"
path = "src/otdrs.rs"
test = true
doc = true
bench = true