Bump version
This commit is contained in:
parent
205b9f3f25
commit
b3faef4b80
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -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",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "typst"
|
||||
version = "0.0.0"
|
||||
version = "0.1.0"
|
||||
authors = ["The Typst Project Developers"]
|
||||
edition = "2021"
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "typst-cli"
|
||||
version = "0.0.0"
|
||||
version = "0.1.0"
|
||||
authors = ["The Typst Project Developers"]
|
||||
edition = "2021"
|
||||
|
||||
|
@ -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})");
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "typst-library"
|
||||
version = "0.0.0"
|
||||
version = "0.1.0"
|
||||
authors = ["The Typst Project Developers"]
|
||||
edition = "2021"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "typst-macros"
|
||||
version = "0.0.0"
|
||||
version = "0.1.0"
|
||||
authors = ["The Typst Project Developers"]
|
||||
edition = "2021"
|
||||
|
||||
|
@ -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 = ".." }
|
||||
|
Loading…
x
Reference in New Issue
Block a user