File: Cargo.toml

package info (click to toggle)
rust-libz-rs-sys 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 428 kB
  • sloc: ansic: 548; makefile: 4
file content (65 lines) | stat: -rw-r--r-- 1,550 bytes parent folder | download | duplicates (2)
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
54
55
56
57
58
59
60
61
62
63
64
65
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.75"
name = "libz-rs-sys"
version = "0.6.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A memory-safe zlib implementation written in rust"
homepage = "https://github.com/trifectatechfoundation/zlib-rs"
readme = "README.md"
license = "Zlib"
repository = "https://github.com/trifectatechfoundation/zlib-rs"

[package.metadata.docs.rs]
features = [
    "gz",
    "gzprintf",
]

[features]
c-allocator = ["zlib-rs/c-allocator"]
custom-prefix = ["export-symbols"]
default = [
    "std",
    "rust-allocator",
]
export-symbols = []
gz = ["dep:libc"]
gzprintf = ["gz"]
rust-allocator = ["zlib-rs/rust-allocator"]
semver-prefix = ["export-symbols"]
std = ["zlib-rs/std"]
testing-prefix = ["export-symbols"]

[lib]
name = "libz_rs_sys"
path = "src/lib.rs"

[dependencies.libc]
version = "0.2.171"
optional = true

[dependencies.zlib-rs]
version = "0.6.2"
features = ["__internal-api"]
default-features = false

[lints.rust]
unsafe_op_in_unsafe_fn = "deny"