Skip to content

Commit 75a6e34

Browse files
committed
bump hocon version to 0.9
1 parent 8ab30ee commit 75a6e34

File tree

5 files changed

+15
-13
lines changed

5 files changed

+15
-13
lines changed

Cargo.lock

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ tracing = "0.1"
3636
tracing-subscriber = "0.2"
3737

3838
#config
39-
hocon = "0.7"
39+
hocon = "0.9"
4040
serde = { version = "1.0", features = ["derive"] }
4141
serde_json = "1.0"
4242

config.release.conf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,8 @@ file_dir = "/data"
3535

3636
# default cache config
3737
//cache {
38-
// # if file size > max_size, it will not be cached. default is 10485760 (10MB).
39-
// # do not use size unit format like 50MB!
40-
// # It's blocked by [hocon #62](https://github.com/mockersf/hocon.rs/issues/62)
41-
// max_size = 10485760 //10MB 10*1024*1024
38+
// # if file size > max_size, it will not be cached. default is (10MB).
39+
// max_size = 10MB
4240

4341
// # http header Cache-Control config,
4442
// # optional, if not set, won't sender this header to client

docs/guide/spa-server-configuration.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ file_dir = "/data"
4545
# default cache config
4646
//cache {
4747
// # if file size > max_size, it will not be cached. default is 10485760 (10MB).
48-
// # do not use size unit format like 50MB!
49-
// # It's blocked by [hocon #62](https://github.com/mockersf/hocon.rs/issues/62)
50-
// max_size = 10485760 //10MB 10*1024*1024
48+
// max_size = 10MB
5149
5250
// # http header Cache-Control config,
5351
// # optional, if not set, won't sender this header to client

server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tracing = "0.1"
4343
tracing-subscriber = "0.2"
4444

4545
#config
46-
hocon = "0.7"
46+
hocon = "0.9"
4747
serde = { version = "1.0", features = ["derive"] }
4848
serde_repr = "0.1"
4949

0 commit comments

Comments
 (0)