File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## [ Unreleased]
2+
3+ ### Breaking Change
4+
5+ * Add ` config ` feature for crate ` sailfish ` . It is enabled by default. In previous
6+ versions, the functionality enabled by the ` config ` feature was always available. If the
7+ feature is disabled, any configuration files (sailfish.toml) are ignored by the template
8+ compiler. This speeds up the compiler a bit, and decreases the number of dependencies
9+ required, so it can be useful for applications that don't use sailfish.toml configuration
10+ files and want to speed up their build process.
11+
112<a name =" v0.4.0 " ></a >
213## [ v0.4.0] ( https://github.com/rust-sailfish/sailfish/compare/v0.3.4...v0.4.0 ) (2022-03-10)
314
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ doctest = false
2222
2323[features ]
2424default = [" config" ]
25- # enable configuration file (sailfish.yml ) support
25+ # enable configuration file (sailfish.toml ) support
2626config = [" sailfish-compiler/config" ]
2727
2828[dependencies ]
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ workspace = ".."
1313edition = " 2018"
1414
1515[features ]
16- default = [" derive" , " perf-inline" ]
16+ default = [" config" , " derive" , " perf-inline" ]
17+ # enable configuration file (sailfish.toml) support
18+ config = [" sailfish-macros/config" ]
1719# automatically import derive macro
1820derive = [" sailfish-macros" ]
1921# enable json filter
@@ -30,6 +32,7 @@ serde_json = { version = "1.0.95", optional = true }
3032[dependencies .sailfish-macros ]
3133path = " ../sailfish-macros"
3234version = " 0.6.1"
35+ default-features = false
3336optional = true
3437
3538[build-dependencies ]
You can’t perform that action at this time.
0 commit comments