Skip to content

Commit 11c4a75

Browse files
nyurikdanielrh
authored andcommitted
style: reformat Cargo.toml
1 parent b6b7db1 commit 11c4a75

File tree

2 files changed

+27
-26
lines changed

2 files changed

+27
-26
lines changed

Cargo.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,39 @@ documentation = "https://docs.rs/brotli/"
88
homepage = "https://github.com/dropbox/rust-brotli"
99
repository = "https://github.com/dropbox/rust-brotli"
1010
keywords = ["brotli", "decompression", "lz77", "huffman", "nostd"]
11+
categories = ["compression", "no-std"]
1112
readme = "README.md"
1213
autobins = false
1314

1415
[[bin]]
1516
doc = false
1617
name = "brotli"
1718

18-
19-
2019
[[bin]]
2120
doc = false
2221
name = "catbrotli"
2322

2423
[profile.release]
25-
lto=true
26-
incremental=false
24+
lto = true
25+
incremental = false
2726

2827
[dependencies]
29-
"alloc-no-stdlib" = {version="2.0"}
30-
"brotli-decompressor" = {version="~2.5", default-features=false}
31-
"alloc-stdlib" = {version="~0.2", optional=true}
32-
# Uncomment once this packed_simd "packed_simd_2" = {version="0.3", optional=true}
33-
"sha2" = {version="~0.10", optional=true}
28+
"alloc-no-stdlib" = { version = "2.0" }
29+
"alloc-stdlib" = { version = "~0.2", optional = true }
30+
"brotli-decompressor" = { version = "~2.5", default-features = false }
31+
"sha2" = { version = "~0.10", optional = true }
32+
# Uncomment once this packed_simd
33+
# "packed_simd_2" = {version="0.3", optional=true}
3434

3535
[features]
36-
default=["std", "ffi-api"]
37-
validation=["sha2"]
36+
default = ["std", "ffi-api"]
37+
benchmark = ["brotli-decompressor/benchmark"]
38+
disable-timer = ["brotli-decompressor/disable-timer"]
39+
external-literal-probability = []
40+
ffi-api = []
41+
pass-through-ffi-panics = []
3842
seccomp = ["brotli-decompressor/seccomp"]
3943
std = ["alloc-stdlib", "brotli-decompressor/std"]
40-
external-literal-probability = []
41-
disable-timer = ["brotli-decompressor/disable-timer"]
42-
benchmark = ["brotli-decompressor/benchmark"]
44+
validation = ["sha2"]
4345
vector_scratch_space = []
44-
#simd = ["packed_simd_2/into_bits"]
45-
pass-through-ffi-panics = []
46-
ffi-api = []
46+
# simd = ["packed_simd_2/into_bits"]

c/Cargo.toml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,26 @@ documentation = "https://github.com/dropbox/rust-brotli/blob/master/README.md"
88
homepage = "https://github.com/dropbox/rust-brotli"
99
repository = "https://github.com/dropbox/rust-brotli"
1010
keywords = ["brotli", "decompression", "lz77", "huffman", "nostd"]
11+
categories = ["compression", "no-std", "external-ffi-bindings"]
1112
readme = "README.md"
1213
autobins = false
1314

1415
[lib]
15-
path="src/lib.rs"
16-
crate-type=["cdylib", "staticlib", "rlib"]
16+
path = "src/lib.rs"
17+
crate-type = ["cdylib", "staticlib", "rlib"]
1718

1819
[profile.release]
19-
lto=true
20+
lto = true
2021

2122
[dependencies]
22-
"brotli" = {version="~3.3", default-features=false, features=["ffi-api"]}
23+
"brotli" = { version = "~3.3", default-features = false, features = ["ffi-api"] }
2324

2425
[features]
25-
validation=["brotli/validation"]
26-
default=["std"]
26+
default = ["std"]
27+
benchmark = ["brotli/benchmark"]
28+
disable-timer = ["brotli/disable-timer"]
2729
seccomp = ["brotli/seccomp"]
30+
simd = ["brotli/simd"]
2831
std = ["brotli/std"]
29-
disable-timer = ["brotli/disable-timer"]
30-
benchmark = ["brotli/benchmark"]
32+
validation = ["brotli/validation"]
3133
vector_scratch_space = ["brotli/vector_scratch_space"]
32-
simd = ["brotli/simd"]

0 commit comments

Comments
 (0)