Skip to content

Commit c6f268e

Browse files
committed
chore: optimize build time
1 parent fec3c27 commit c6f268e

5 files changed

Lines changed: 10 additions & 1 deletion

File tree

crates/loro-core/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ thiserror = "1.0.31"
2020
[dev-dependencies]
2121
proptest = "1.0.0"
2222
proptest-derive = "0.3.0"
23+
24+
# See https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html
25+
[lib]
26+
doctest = false

crates/loro-core/src/dag.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use std::{
44
};
55

66
use fxhash::FxHashMap;
7+
#[cfg(test)]
78
mod test;
89

910
use crate::{

crates/loro-core/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ mod loro;
1717
mod smstring;
1818
mod snapshot;
1919
mod span;
20+
#[cfg(test)]
2021
mod tests;
2122
mod value;
2223

crates/loro-framework/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ loro-core = {path = "../loro-core"}
1111
ring = "0.16.20"
1212
rle = {path = "../rle"}
1313
sha2 = "0.10.2"
14+
15+
[lib]
16+
doctest = false

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly
1+
stable

0 commit comments

Comments
 (0)