diff --git a/Cargo.toml b/Cargo.toml index f180169..4f8cfbb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,6 @@ crossterm = "0.29" ignore = "0.4" lsp-server = "0.8.0" lsp-types = "0.97" -nix = { version = "0.31", features = ["poll"] } owo-colors = "4" regex = "1.11.1" serde = { version = "1.0.209", features = [ "derive" ] } @@ -24,6 +23,9 @@ tinytemplate = "1.2.1" tracing = "0.1.40" tracing-subscriber = { version = "0.3.18", features = [ "env-filter" ] } +[target.'cfg(unix)'.dependencies] +nix = { version = "0.31", features = ["poll"] } + [build-dependencies] [profile.release] diff --git a/README.md b/README.md index b1cdb0c..6079c2f 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,8 @@ as well as very detailed ones: Detailed examples can be found in the _examples/_ and _tests/_ directories. -Documents written in Technique have file extension _\*.tq_. +Documents written in Technique have file extension _\*.tq_. The MIME type is +`application/technique`.