-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
53 lines (44 loc) · 1.47 KB
/
Cargo.toml
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
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "z-base-32"
version = "0.1.4"
edition = "2018"
authors = ["Matus Ferech <[email protected]>"]
license = "MIT"
repository = "https://github.com/matusf/z-base-32"
readme = "README.md"
description = "z-base-32: human-oriented base-32 encoding"
keywords = ["zbase32", "base32", "encode", "decode", "python"]
categories = ["encoding"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "zbase32"
crate-type = ["cdylib", "rlib"]
[[bin]]
name = "zbase32"
required-features = ["cli"]
[features]
python = ["dep:pyo3"]
cli = ["dep:clap", "dep:anyhow"]
[dependencies]
pyo3 = {version = "0.21.2", features = ["extension-module"], optional = true}
clap = {version = "4.5.4", features = ["derive"], optional = true}
anyhow = {version = "1.0.82", optional = true}
[dev-dependencies]
quickcheck = "1.0.3"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.8.2"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
installers = []
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
# Publish jobs to run in CI
pr-run-mode = "plan"
features = ["cli"]