summaryrefslogtreecommitdiffstats
path: root/third_party/rust/os_str_bytes/Cargo.toml
blob: e33d3d49616c0842f9dafd0fcb063f6b2cdcf281 (plain)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
# 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.57.0"
name = "os_str_bytes"
version = "6.4.1"
authors = ["dylni"]
exclude = [
    ".*",
    "tests.rs",
    "/rustfmt.toml",
    "/src/bin",
    "/tests",
]
description = """
Convert between byte sequences and platform-native strings
"""
readme = "README.md"
keywords = [
    "bytes",
    "osstr",
    "osstring",
    "path",
    "windows",
]
categories = [
    "command-line-interface",
    "development-tools::ffi",
    "encoding",
    "os",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dylni/os_str_bytes"

[package.metadata.docs.rs]
all-features = true
rustc-args = [
    "--cfg",
    "os_str_bytes_docs_rs",
]
rustdoc-args = [
    "--cfg",
    "os_str_bytes_docs_rs",
]

[dependencies.memchr]
version = "2.4"
optional = true

[dependencies.print_bytes]
version = "0.7"
optional = true

[dependencies.uniquote]
version = "3.0"
optional = true

[dev-dependencies.getrandom]
version = "0.2"

[features]
checked_conversions = []
default = [
    "memchr",
    "raw_os_str",
]
raw_os_str = []