Skip to content

Commit 3787239

Browse files
committed
Make dev dependencies actually dev dependencies
1 parent 40d0209 commit 3787239

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[package]
22
name = "couchbase_lite"
33
description = "Rust bindings for Couchbase Lite C"
4-
54
# The first three numbers correspond to the Couchbase Lite C release, the fourth number corresponds to the Rust release
65
version = "3.2.1-0"
76

@@ -13,10 +12,12 @@ categories = ["database"]
1312
publish = ["couchbase-lite-rust"]
1413

1514
[dependencies]
16-
enum_primitive = "*"
17-
tempdir = "*"
18-
lazy_static = "1.4.0"
19-
regex = "1.10.4"
15+
enum_primitive = "0.1.1"
16+
17+
[dev-dependencies]
18+
lazy_static = "1.5.0"
19+
regex = "1.11.1"
20+
tempdir = "0.3.7"
2021

2122
[dev-dependencies.cargo-husky]
2223
version = "1"

build.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,13 @@
2323
// - https://doc.rust-lang.org/cargo/reference/build-scripts.html
2424

2525
#[cfg(all(not(feature = "community"), not(feature = "enterprise")))]
26-
compile_error!("You need to have one the following features activated: community, enterprise");
26+
compile_error!(
27+
"You need to have at least one the following features activated: community, enterprise"
28+
);
2729
#[cfg(all(feature = "community", feature = "enterprise"))]
28-
compile_error!("You need to have one the following features activated: community, enterprise");
30+
compile_error!(
31+
"You need to have at most one the following features activated: community, enterprise"
32+
);
2933

3034
extern crate bindgen;
3135
extern crate fs_extra;

0 commit comments

Comments
 (0)