Compare commits
3 Commits
v0.1.0
...
v0.1.0-gra
Author | SHA1 | Date | |
---|---|---|---|
e1616710aa | |||
def3f4040f | |||
8e3b1d799f |
@ -1,2 +0,0 @@
|
||||
[target.wasm32-unknown-unknown]
|
||||
rustflags = ['--cfg', 'getrandom_backend="wasm_js"']
|
4
Cargo.lock
generated
4
Cargo.lock
generated
@ -242,8 +242,8 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "graphemy"
|
||||
version = "0.4.0"
|
||||
source = "git+https://codeberg.org/zhuriel/graphemy?branch=master#fcc5afb41fc24f18753779c9b08a416f9bcc5e6b"
|
||||
version = "0.5.0"
|
||||
source = "git+https://codeberg.org/zhuriel/graphemy?tag=v0.5.0#071ad35f4bfada64ec65ffad47e9f7fbe01ca714"
|
||||
dependencies = [
|
||||
"bigdecimal",
|
||||
"glam",
|
||||
|
@ -7,7 +7,7 @@ edition = "2021"
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
graphemy = { git = "https://codeberg.org/zhuriel/graphemy", branch = 'master' }
|
||||
graphemy = { git = "https://codeberg.org/zhuriel/graphemy", tag = 'v0.5.0' }
|
||||
serde = "1.0"
|
||||
serde_json = "1.0.140"
|
||||
wasm-minimal-protocol = "0.1.0"
|
||||
|
@ -10,10 +10,12 @@ Dependencies
|
||||
Run ~build.sh~.
|
||||
|
||||
** Installation
|
||||
Build or download a relase.
|
||||
|
||||
*** As a typst package
|
||||
The =typst= directory contains the typst package files that you can copy to your local package repository. See the [[https://github.com/typst/packages/blob/main/README.md#local-packages][typst package documentation]] for more information.
|
||||
The =typst= directort of the repository or the released archive contains the typst package files that you can copy to your local package repository. See the [[https://github.com/typst/packages/blob/main/README.md#local-packages][typst package documentation]] for more information.
|
||||
*** As a standalone typst file
|
||||
Copy =typst/graphemy_typst.wasm= and =typst/graphemy.typ= to your project directory. (this is the method that will be used in the rest of this document.)
|
||||
Copy =graphemy_typst.wasm= and =graphemy.typ= to your project directory. (this is the method that will be used in the rest of this document.)
|
||||
** Usage
|
||||
Import the ~load-gmy~ function from the package
|
||||
#+begin_src typst
|
||||
|
Reference in New Issue
Block a user