summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock12
-rw-r--r--Cargo.toml2
-rw-r--r--README.md5
-rw-r--r--cli/Cargo.toml2
-rw-r--r--cli/build.rs8
-rw-r--r--docs/Cargo.toml3
-rw-r--r--docs/src/general/changelog.md2
-rw-r--r--library/Cargo.toml2
-rw-r--r--macros/Cargo.toml2
-rw-r--r--tests/Cargo.toml3
10 files changed, 23 insertions, 18 deletions
diff --git a/Cargo.lock b/Cargo.lock
index b30dce05..6cc43ac7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1507,7 +1507,7 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
[[package]]
name = "typst"
-version = "0.0.0"
+version = "0.1.0"
dependencies = [
"bitflags",
"bytemuck",
@@ -1543,7 +1543,7 @@ dependencies = [
[[package]]
name = "typst-cli"
-version = "0.0.0"
+version = "0.1.0"
dependencies = [
"chrono",
"clap",
@@ -1564,7 +1564,7 @@ dependencies = [
[[package]]
name = "typst-docs"
-version = "0.0.0"
+version = "0.1.0"
dependencies = [
"comemo",
"heck",
@@ -1582,7 +1582,7 @@ dependencies = [
[[package]]
name = "typst-library"
-version = "0.0.0"
+version = "0.1.0"
dependencies = [
"comemo",
"csv",
@@ -1611,7 +1611,7 @@ dependencies = [
[[package]]
name = "typst-macros"
-version = "0.0.0"
+version = "0.1.0"
dependencies = [
"heck",
"proc-macro2",
@@ -1622,7 +1622,7 @@ dependencies = [
[[package]]
name = "typst-tests"
-version = "0.0.0"
+version = "0.1.0"
dependencies = [
"comemo",
"elsa",
diff --git a/Cargo.toml b/Cargo.toml
index 3fe01094..bd5ad320 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "typst"
-version = "0.0.0"
+version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2021"
diff --git a/README.md b/README.md
index 71e55816..343018b1 100644
--- a/README.md
+++ b/README.md
@@ -137,12 +137,13 @@ compilation.
typst watch file.typ
```
-You can also add custom font paths for your project and list all of the discovered fonts:
+Typst further allows you to add custom font paths for your project and list all
+of the fonts it discovered:
```sh
# Adds additional directories to search for fonts.
typst --font-path path/to/fonts compile file.typ
-# Lists all of the discovered fonts.
+# Lists all of the discovered fonts in the system and the given directory.
typst --font-path path/to/fonts fonts
```
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 8b0f3517..d5178b54 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "typst-cli"
-version = "0.0.0"
+version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2021"
diff --git a/cli/build.rs b/cli/build.rs
index 47809487..014960f4 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -6,12 +6,14 @@ fn main() {
return;
}
- let version = Command::new("git")
+ let pkg = env!("CARGO_PKG_VERSION");
+ let hash = Command::new("git")
.args(["rev-parse", "HEAD"])
.output()
.ok()
.filter(|output| output.status.success())
.and_then(|output| String::from_utf8(output.stdout.get(..8)?.into()).ok())
- .unwrap_or_else(|| "(unknown version)".into());
- println!("cargo:rustc-env=TYPST_VERSION={version}");
+ .unwrap_or_else(|| "(unknown hash)".into());
+
+ println!("cargo:rustc-env=TYPST_VERSION={pkg} ({hash})");
}
diff --git a/docs/Cargo.toml b/docs/Cargo.toml
index ac21b20c..f86df530 100644
--- a/docs/Cargo.toml
+++ b/docs/Cargo.toml
@@ -1,8 +1,9 @@
[package]
name = "typst-docs"
-version = "0.0.0"
+version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2021"
+publish = false
[lib]
doctest = false
diff --git a/docs/src/general/changelog.md b/docs/src/general/changelog.md
index a2b2ae9d..317afc30 100644
--- a/docs/src/general/changelog.md
+++ b/docs/src/general/changelog.md
@@ -5,7 +5,7 @@ description: |
---
# Changelog
-## Unreleased
+## April 04, 2023 (v0.1)
- **Breaking changes:**
- When using the CLI, you now have to use subcommands:
- `typst compile file.typ` or `typst c file.typ` to create a PDF
diff --git a/library/Cargo.toml b/library/Cargo.toml
index 798e2a37..0b754dd2 100644
--- a/library/Cargo.toml
+++ b/library/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "typst-library"
-version = "0.0.0"
+version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2021"
diff --git a/macros/Cargo.toml b/macros/Cargo.toml
index 24d537be..100b0be2 100644
--- a/macros/Cargo.toml
+++ b/macros/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "typst-macros"
-version = "0.0.0"
+version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2021"
diff --git a/tests/Cargo.toml b/tests/Cargo.toml
index 8bc70c9a..ff129513 100644
--- a/tests/Cargo.toml
+++ b/tests/Cargo.toml
@@ -1,8 +1,9 @@
[package]
name = "typst-tests"
-version = "0.0.0"
+version = "0.1.0"
authors = ["The Typst Project Developers"]
edition = "2021"
+publish = false
[dev-dependencies]
typst = { path = ".." }