Zine - a simple and opinionated tool to build your own magazine.

Overview

zine

Crates.io Crates.io license-apache

Zine - a simple and opinionated tool to build your own magazine.

  • Mobile-first.
  • Intuitive and elegant magazine design.
  • Best reading experiences.
  • Theme customizable, extend friendly.
  • RSS Feed supported.
  • Open Graph Protocol supported.
  • Build into a static website, hosting anywhere.

Installation

cargo install zine

Get Started

Run zine new your-zine-site, you'll get following directory:

$ tree your-zine-site
your-zine-site
├── content             # The content directory your issues located
│   └── issue-1         # The first issue directory
│       ├── 1-first.md  # The first markdown article in this issue
│       └── zine.toml   # The issue Zine config file
└── zine.toml           # The root Zine config file of this project

2 directories, 3 files

Run zine serve to preview your zine site on your local computer:

$ cd your-zine-site

$ zine serve

███████╗██╗███╗   ██╗███████╗
╚══███╔╝██║████╗  ██║██╔════╝
  ███╔╝ ██║██╔██╗ ██║█████╗  
 ███╔╝  ██║██║╚██╗██║██╔══╝  
███████╗██║██║ ╚████║███████╗
╚══════╝╚═╝╚═╝  ╚═══╝╚══════╝
                             
listening on http://127.0.0.1:3000

Run zine build to build your zine site into a static website:

$ cd your-zine-site

$ zine build
Build success! The build directory is `build`.

Dive into deep

A Zine project mainly consists of two kind zine.toml files and a bunch of markdown files.

Root zine.toml

This root zine.toml file describes your site meta and all your issue's info.

[site]
url = "https://your-domain.com"
name = "Your Zine Site Name"
description = ""
logo = "path/to/favicon"
# the locale to localize your Zine site. default to "en".
# Zine has builtin supported locales, please check the `locales` directory of this repo.
locale = "en"
# the menu tabs
menu = [
    { name = "About", url = "/about" },
    { name = "Blog", url = "/blog" },
]

# Declare authors of this magazine.
[authors]
# set editor to true will show the Editor badge on the author profile page
zine-team = { name = "Zine Team", editor = true, bio = "The Zine Team." }

# You can customize some theme elements in this section.
# All of those elements are optional.
[theme]
# the primary color
primary-color = "#abcdef"
secondary-color = "#fff"
# the main text color
main-color = "#000"
# the link color in article content
link-color = "#e07312"
# the background image
background-image = "/static/background.png"
# you can customize your footer here
footer-template = "templates/footer.html"

# Issue 1
[[issue]]
# the slug of this issue: https://your-domain.com/s1
slug = "s1"
# the number of this issue
number = 1
# issue title
title = "Issue 1"
# the directory path to parse this issue, you should put
# your markdown files in this directory
path = "content/issue-1"
# the introduction of this issue. optional.
intro = "content/issue-1/intro.md"

# Issue 2
[[issue]]
slug = "s2"
number = 2
title = "Issue 2"
path = "content/issue-2"

Issue zine.toml

The issue zine.toml file list all your articles of this issue.

[[article]]
# the slug of this article. E.g: https://your-domain.com/s1/1
slug = "1"
# the markdown file path of this article
file = "1-first.md"
# the title of this article
title = "First article"
# the optional author id of this article.
author = "zine-team"
# the cover of this article
cover = ""
# the publish date of this article
pub_date = "2022-03-20"
# whether to publish this article or not
publish = true
# whether mark this article as a featured article. 
# the featured articles will be shown on the home page
featured = true

# Another article
[[article]]

Advanced

Author

Zine will generate a dedicated profile page for each author declared in the root zine.toml table.

[authors]
# https://your-domain.com/@alice
alice = { name = "Alice", bio = "An engineer." }
# https://your-domain.com/@bob
bob = { name = "Bob", avatar = "/cool/avatar.png", bio = "An engineer." }

The path of an author page consists of @ and author id, for example above, the path are @alice and @bob.

If the author of an article hasn't declared in [authors], no author page will be generated for that author.

Pages

Every markdown file located in pages will be rendered as a Page. Just intuitive like this:

$ tree pages
pages
├── about.md        # will be rendered as https://your-domain.com/about
├── blog            
│   └── first.md    # will be rendered as https://your-domain.com/blog/first
├── blog.md         # will be rendered as https://your-domain.com/blog
└── faq.md          # will be rendered as https://your-domain.com/faq

1 directory, 4 files

Comment

You can add an arbitrary number of comments for an article. Simply put the end matter below the article content.

end matter is a terminology similar to front matter in other Static Site Generators. Just like the front matter shown ahead of the markdown content, the end matter is shown below.

You cool article content.

+++
[[comment]]
author = "Bob"
bio = "A developer"
content = "The cool comment"

[[comment]]
author = "Alice"
bio = ""
content = "Another cool comment"
+++

Code blocks

Zine provides some advanced code blocks to help you write articles.

Author

The author code is designed to render the avatar-name link on the markdown page.

The syntax is very simple, just write like this @author_id. If the author_id is declared in the [authors] table of the root zine.toml, it will render the UI as expected, otherwise it fallback into the raw code UI.

URL preview

```urlpreview
https://github.com/zineland/zine
```

Some cool magazines powered by Zine

TODO

  • Support RSS Feed

  • Support render OGP meta

  • Support l10n

  • Support sitemap.xml

  • Support table of content

  • Support code syntax highlight

  • Support i18n

  • Generate word cloud for issue

License

This project is licensed under the Apache-2.0 license.

Comments
  • Support find zine folder recursively

    Support find zine folder recursively

    Static site generators like hexo support find config files and base dir recursively. That would allow users to execute commands in any subdirectory. If we could also support this feature?

    enhancement level-easy 
    opened by KernelErr 4
  • Rewrite html base url

    Rewrite html base url

    This PR is mainly to fix https://github.com/zineland/zine/issues/11.

    Instead of adding a public_url, we rewrite all root paths with the base URL if the base URL isn't a naked domain. For instance, if the site_url is a Github Pages URL, such as https://zineland.github.io/zine, the /hello.css link would be rewritten to https://zineland.github.io/zine/hello.css. For naked domain URLs, we do nothing.

    The benefit is we bring no extra concepts to the user, for example, the user doesn't need to learn what the public_url is, this keeps zine as simple and intuitive as possible.

    opened by Folyd 4
  • Add word analysis

    Add word analysis

    In this pull request, the word analysis feature is added by using jieba. We count all words whose length is greater than 1 and sort them in a B TreeMap. However, visualization is not implemented yet.

    Signed-off-by: KernelErr [email protected]

    opened by KernelErr 3
  • Add `zine-version` meta tag

    Add `zine-version` meta tag

    <!DOCTYPE html>
    <html lang="en">
      <head>
        <meta charset="UTF-8">
    +   <meta name="zine-version" content="0.7.0"/>
      </head>
    </html>
    
    enhancement level-easy 
    opened by Folyd 2
  • [build] : Linking Error on apple silicon chip

    [build] : Linking Error on apple silicon chip

    Hi folks,

    cargo install zine the installation of zine fails on m1 apple silicon chip.

    cargo install zine
    
    
        Updating crates.io index
      Downloaded zine v0.3.1
      Downloaded 1 crate (55.8 KB) in 0.99s
      Installing zine v0.3.1
      Downloaded block-padding v0.1.5
      Downloaded cc v1.0.73
      Downloaded core-foundation v0.9.3
      Downloaded crossbeam-channel v0.5.4
      Downloaded crossbeam-epoch v0.9.8
      Downloaded tempfile v3.3.0
      Downloaded digest v0.8.1
      Downloaded crossbeam-utils v0.8.8
      Downloaded derive_more v0.99.17
      Downloaded rand_core v0.5.1
      Downloaded cssparser v0.27.2
      Downloaded semver v1.0.7
      Downloaded sha-1 v0.8.2
      Downloaded fake-simd v0.1.2
      Downloaded fluent-bundle v0.15.2
      Downloaded siphasher v0.3.10
      Downloaded dtoa-short v0.3.3
      Downloaded clap v3.1.8
      Downloaded string_cache_codegen v0.5.2
      Downloaded string_cache v0.8.4
      Downloaded clap_derive v3.1.7
      Downloaded chrono-tz-build v0.0.2
      Downloaded textwrap v0.15.0
      Downloaded time v0.3.9
      Downloaded tokio v1.17.0
      Downloaded tokio-native-tls v0.3.0
      Downloaded tokio-util v0.7.1
      Downloaded security-framework-sys v2.6.1
      Downloaded fluent v0.16.0
      Downloaded futures-core v0.3.21
      Downloaded fluent-syntax v0.11.0
      Downloaded futures-util v0.3.21
      Downloaded futures-task v0.3.21
      Downloaded getopts v0.2.21
      Downloaded syn v1.0.91
      Downloaded tokio-macros v1.7.0
      Downloaded stable_deref_trait v1.2.0
      Downloaded generic-array v0.12.4
      Downloaded toml v0.5.8
      Downloaded getrandom v0.2.6
      Downloaded tower-service v0.3.1
      Downloaded getrandom v0.1.16
      Downloaded tracing-core v0.1.24
      Downloaded tower v0.4.12
      Downloaded globset v0.4.8
      Downloaded unic-langid v0.9.0
      Downloaded unic-char-property v0.9.0
      Downloaded typenum v1.15.0
      Downloaded utf-8 v0.7.6
      Downloaded unic-langid-impl v0.9.0
      Downloaded want v0.3.0
      Downloaded version_check v0.9.4
      Downloaded globwalk v0.8.1
      Downloaded hashbrown v0.11.2
      Downloaded xml5ever v0.16.2
      Downloaded hashbrown v0.12.0
      Downloaded heck v0.4.0
      Downloaded type-map v0.4.0
      Downloaded try-lock v0.2.3
      Downloaded tower-layer v0.3.1
      Downloaded tracing v0.1.33
      Downloaded http-body v0.4.4
      Downloaded http v0.2.6
      Downloaded socket2 v0.4.4
      Downloaded httparse v1.7.0
      Downloaded httpdate v1.0.2
      Downloaded humansize v1.1.1
      Downloaded unic-char-range v0.9.0
      Downloaded thin-slice v0.1.1
      Downloaded servo_arc v0.1.1
      Downloaded html5ever v0.25.2
      Downloaded unic-ucd-segment v0.9.0
      Downloaded http-range-header v0.3.0
      Downloaded opaque-debug v0.2.3
      Downloaded maplit v1.0.2
      Downloaded pest_meta v2.1.3
      Downloaded hyper v0.14.18
      Downloaded unic-segment v0.9.0
      Downloaded phf_generator v0.10.0
      Downloaded intl-memoizer v0.5.1
      Downloaded include_dir v0.7.2
      Downloaded ignore v0.4.18
      Downloaded lazycell v1.3.0
      Downloaded include_dir_macros v0.7.2
      Downloaded pin-project-lite v0.2.8
      Downloaded proc-macro2 v1.0.37
      Downloaded safemem v0.3.3
      Downloaded pulldown-cmark v0.9.1
      Downloaded thread_local v1.1.4
      Downloaded intl_pluralrules v7.0.1
      Downloaded matches v0.1.9
      Downloaded log v0.4.16
      Downloaded mime v0.3.16
      Downloaded tendril v0.4.3
      Downloaded tinystr v0.3.4
      Downloaded mime_guess v2.0.4
      Downloaded mio v0.8.2
      Downloaded tera v1.15.0
      Downloaded native-tls v0.2.10
      Downloaded markup5ever v0.10.1
      Downloaded unic-common v0.9.0
      Downloaded parking_lot_core v0.9.2
      Downloaded nodrop v0.1.14
      Downloaded new_debug_unreachable v1.0.4
      Downloaded self_cell v0.10.2
      Downloaded rand_chacha v0.2.2
      Downloaded indexmap v1.8.1
      Downloaded rustc-hash v1.1.0
      Downloaded unic-ucd-version v0.9.0
      Downloaded mac v0.1.1
      Downloaded slug v0.1.4
      Downloaded remove_dir_all v0.5.3
      Downloaded hyper-tls v0.5.0
      Downloaded num_cpus v1.13.1
      Downloaded lock_api v0.4.7
      Downloaded num_threads v0.1.5
      Downloaded cssparser-macros v0.6.0
      Downloaded deunicode v0.4.3
      Downloaded os_str_bytes v6.0.0
      Downloaded percent-encoding v2.1.0
      Downloaded parking_lot v0.12.0
      Downloaded pest_derive v2.1.0
      Downloaded phf v0.8.0
      Downloaded pest_generator v2.1.3
      Downloaded phf_generator v0.8.0
      Downloaded phf_codegen v0.10.0
      Downloaded phf v0.10.1
      Downloaded phf_shared v0.10.0
      Downloaded addr2line v0.17.0
      Downloaded ahash v0.7.6
      Downloaded phf_shared v0.8.0
      Downloaded once_cell v1.10.0
      Downloaded parse-zoneinfo v0.3.0
      Downloaded phf_codegen v0.8.0
      Downloaded anyhow v1.0.56
      Downloaded pin-project v1.0.10
      Downloaded block-buffer v0.7.3
      Downloaded autocfg v1.1.0
      Downloaded byte-tools v0.3.1
      Downloaded backtrace v0.3.64
      Downloaded fluent-langneg v0.13.0
      Downloaded fastrand v1.7.0
      Downloaded futures-sink v0.3.21
      Downloaded futf v0.1.5
      Downloaded rand v0.7.3
      Downloaded rand_pcg v0.2.1
      Downloaded quote v1.0.18
      Downloaded pin-project-internal v1.0.10
      Downloaded selectors v0.22.0
      Downloaded security-framework v2.6.1
      Downloaded futures-channel v0.3.21
      Downloaded regex v1.5.5
      Downloaded phf_macros v0.8.0
      Downloaded dtoa v0.4.8
      Downloaded markup5ever_rcdom v0.1.0
      Downloaded precomputed-hash v0.1.1
      Downloaded tower-http v0.2.5
      Downloaded unicase v2.6.0
      Downloaded uncased v0.9.6
      Downloaded encoding_rs v0.8.31
      Downloaded gimli v0.26.1
      Downloaded libc v0.2.122
      Downloaded lol_html v0.3.1
      Downloaded chrono-tz v0.6.1
      Downloaded 164 crates (9.6 MB) in 3.51s (largest was `encoding_rs` at 1.4 MB)
       Compiling proc-macro2 v1.0.37
       Compiling unicode-xid v0.2.2
       Compiling version_check v0.9.4
       Compiling libc v0.2.122
       Compiling syn v1.0.91
       Compiling cfg-if v1.0.0
       Compiling autocfg v1.1.0
       Compiling ppv-lite86 v0.2.16
       Compiling siphasher v0.3.10
       Compiling memchr v2.4.1
    error: linking with `cc` failed: exit status: 1
    

    error message looks like the following:

     note: "cc" "-arch" "arm64" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.0.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.1.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.10.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.11.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.12.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.13.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.14.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.15.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.2.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.3.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.4.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.5.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.6.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.7.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.8.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.build_script_build.cb7b371f-cgu.9.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca.2u4oqfcv7l81ssna.rcgu.o" "-L" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/deps" "-L" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-eb660d415c354e23.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-7de8b29ddb7a4fdf.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-e8c2a79e494852bc.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-c89ae08c96207cd8.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-020771383c7b28b2.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-868a41d5005b1b1e.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-86bb526dcb1bbaf0.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-65708c20a659c74c.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-ed2eeaa7b42ab93f.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-17e21080b73e52ac.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-6a4b349b118a2bef.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-4a7bfb52e2f3bcac.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0e34d750a2a5ea4f.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-7e50779556d46264.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-91635fcf4ade01cc.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-88566b8a8dea6ac4.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4d2eba102ddf9fce.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/syn-7ba82db0f4252fca/build_script_build-7ba82db0f4252fca" "-Wl,-dead_strip" "-nodefaultlibs"
      = note: cc: error: arm64: No such file or directory
              cc: error: unrecognized command-line option '-arch'; did you mean '-march='?
    
    
    error: linking with `cc` failed: exit status: 1
      |
      = note: "cc" "-arch" "arm64" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.0.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.1.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.10.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.11.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.12.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.13.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.14.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.15.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.2.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.3.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.4.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.5.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.6.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.7.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.8.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.build_script_build.0670c953-cgu.9.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae.3aocxr1bclqs6pbe.rcgu.o" "-L" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/deps" "-L" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-eb660d415c354e23.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-7de8b29ddb7a4fdf.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-e8c2a79e494852bc.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-c89ae08c96207cd8.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-020771383c7b28b2.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-868a41d5005b1b1e.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-86bb526dcb1bbaf0.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-65708c20a659c74c.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-ed2eeaa7b42ab93f.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-17e21080b73e52ac.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-6a4b349b118a2bef.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-4a7bfb52e2f3bcac.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0e34d750a2a5ea4f.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-7e50779556d46264.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-91635fcf4ade01cc.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-88566b8a8dea6ac4.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4d2eba102ddf9fce.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-569cc95ca4e24bae/build_script_build-569cc95ca4e24bae" "-Wl,-dead_strip" "-nodefaultlibs"
      = note: cc: error: arm64: No such file or directory
              cc: error: unrecognized command-line option '-arch'; did you mean '-march='?
    
    
    error: linking with `cc` failed: exit status: 1
      |
      = note: "cc" "-arch" "arm64" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.0.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.1.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.10.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.11.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.12.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.13.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.14.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.15.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.2.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.3.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.4.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.5.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.6.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.7.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.8.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.build_script_build.c83fcb11-cgu.9.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf.2fk5tzbb7nulmnzi.rcgu.o" "-L" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/deps" "-L" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-eb660d415c354e23.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-7de8b29ddb7a4fdf.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-e8c2a79e494852bc.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-c89ae08c96207cd8.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-020771383c7b28b2.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-868a41d5005b1b1e.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-86bb526dcb1bbaf0.rlib" "/Users/ivan/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-65708c20a659c74c.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-ed2eeaa7b42ab93f.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-17e21080b73e52ac.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-6a4b349b118a2bef.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-4a7bfb52e2f3bcac.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0e34d750a2a5ea4f.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-7e50779556d46264.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-91635fcf4ade01cc.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-88566b8a8dea6ac4.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4d2eba102ddf9fce.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/proc-macro2-0010549b0f3b10bf/build_script_build-0010549b0f3b10bf" "-Wl,-dead_strip" "-nodefaultlibs"
      = note: cc: error: arm64: No such file or directory
              cc: error: unrecognized command-line option '-arch'; did you mean '-march='?
    
    
    error: linking with `cc` failed: exit status: 1
      |
      = note: "cc" "-arch" "arm64" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.0.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.1.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.10.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.11.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.12.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.13.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.14.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.15.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.2.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.3.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.4.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.5.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.6.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.7.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.8.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.build_script_build.29c2b518-cgu.9.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e.5d4z37u641p1il40.rcgu.o" "-L" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/deps" "-L" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-eb660d415c354e23.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-7de8b29ddb7a4fdf.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-e8c2a79e494852bc.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-c89ae08c96207cd8.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-020771383c7b28b2.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-868a41d5005b1b1e.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-86bb526dcb1bbaf0.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-65708c20a659c74c.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-ed2eeaa7b42ab93f.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-17e21080b73e52ac.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-6a4b349b118a2bef.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-4a7bfb52e2f3bcac.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0e34d750a2a5ea4f.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-7e50779556d46264.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-91635fcf4ade01cc.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-88566b8a8dea6ac4.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4d2eba102ddf9fce.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/libc-efbb406e3d14489e/build_script_build-efbb406e3d14489e" "-Wl,-dead_strip" "-nodefaultlibs"
      = note: cc: error: arm64: No such file or directory
              cc: error: unrecognized command-line option '-arch'; did you mean '-march='?
    
    
    error: could not compile `libc` due to previous error
    warning: build failed, waiting for other jobs to finish...
    error: linking with `cc` failed: exit status: 1
      |
      = note: "cc" "-arch" "arm64" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.0.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.1.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.10.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.11.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.12.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.13.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.14.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.15.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.2.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.3.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.4.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.5.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.6.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.7.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.8.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.build_script_build.17a14c4a-cgu.9.rcgu.o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf.377jslczlr4ktvrw.rcgu.o" "-L" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/deps" "-L" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-eb660d415c354e23.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-7de8b29ddb7a4fdf.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-e8c2a79e494852bc.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-c89ae08c96207cd8.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-020771383c7b28b2.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-868a41d5005b1b1e.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-86bb526dcb1bbaf0.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-65708c20a659c74c.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-ed2eeaa7b42ab93f.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-17e21080b73e52ac.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-6a4b349b118a2bef.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-4a7bfb52e2f3bcac.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-0e34d750a2a5ea4f.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-7e50779556d46264.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-91635fcf4ade01cc.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-88566b8a8dea6ac4.rlib" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-4d2eba102ddf9fce.rlib" "-lSystem" "-lresolv" "-lc" "-lm" "-liconv" "-L" "/Users/jabbar/.rustup/toolchains/stable-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX/release/build/memchr-10e762304d1133bf/build_script_build-10e762304d1133bf" "-Wl,-dead_strip" "-nodefaultlibs"
      = note: cc: error: arm64: No such file or directory
              cc: error: unrecognized command-line option '-arch'; did you mean '-march='?
    
    
    error: failed to compile `zine v0.3.1`, intermediate artifacts can be found at `/var/folders/4n/qzn2l11j5fxd9q4n7cxgrp140000gn/T/cargo-installUWD1wX`
    
    Caused by:
      build failed
    
    opened by JabSYsEmb 2
  • zine build fails if `dest/static` directory not exists

    zine build fails if `dest/static` directory not exists

    Which version am I using?

    zine 0.3.0 on Mac mini (M1, 2020)

    What's the problem?

    Zine fails to build a newly-generated project, reporting a panic: Error: No such file or directory (os error 2)

    How to reproduce?

    1. install zine 0.3.0
    2. zine new testproject
    3. cd testproject
    4. zine build The build should fail by now.

    What might cause the issue?

    After digging around in the source code, I believe the problem results from include_dir crate.

    In 0.3.0, Zine copies the builtin static files into output directory's static folder by using include_dir. When include_dir extracting a file, it simply uses fs::write(TAEGET_PATH), which will panic if TARGET_PATH includes non-existence directory.

    Because testproject/build/static directory does not exists when include_dir tries to extract zine's buildin static file, it simply panics.

    In version 0.2.1, zine would create the output static directory first before copying static files, so the problem did not exist. 截屏2022-04-02 下午9 40 03

    If we create mkdir testproject/build/static manually, then zine build successfully.

    opened by DingDean 2
  • Support adding topic for an article

    Support adding topic for an article

    • Support adding tags for an article, the number of tags can be zero or more than one.
    [[article]]
    slug = "first"
    file = "1-first.md"
    title = "First Article"
    author = "Zine"
    pub_date = "2022-08-15"
    featured = true
    publish = false
    +topic = ["startup", "devops"]
    
    • Add dedicated page for each tag to list all articles tagged with this tag.
    enhancement level-medium 
    opened by Folyd 1
  • `zine serve` or `zine build` after `zine new` panicked

    `zine serve` or `zine build` after `zine new` panicked

    ❯ zine serve
    
    
    ███████╗██╗███╗   ██╗███████╗
    ╚══███╔╝██║████╗  ██║██╔════╝
      ███╔╝ ██║██╔██╗ ██║█████╗
     ███╔╝  ██║██║╚██╗██║██╔══╝
    ███████╗██║██║ ╚████║███████╗
    ╚══════╝╚═╝╚═╝  ╚═══╝╚══════╝
    
    
    listening on http://127.0.0.1:3000
    thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: No such file or directory (os error 2)', /Users/wangxingbin/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/zine-0.3.0/src/serve.rs:47:14
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    

    How to reproduce

    Follow the Get stared, run zine serve step.

    Relative issue

    2d2d lastest ci action failed.

    opened by Binlogo 1
  • `zine serve`: Error recovery

    `zine serve`: Error recovery

    Hello, when running zine serve and an error occurs, it would be nice if Zine would continue serving the last successful build, and display the new one once the issue is fixed.

    Current behavior:

    • ~~On missing md file: Error: Failed to read markdown file of\?\D:\dev\rust\test-zine\content\issue-1\1-first.md``, then exits~~
    • ~~On invalid toml: error: invalid xx then exits~~
    • On invalid date formatting, like pub_date = "2022--11-28": tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to find the root zine.toml file',<snip>\src\serve.rs:39:14, then does not recover: This one is likely the most annoying, as an automatic process restart would not happen
    opened by plule 0
  • Add some basic command tests in CI

    Add some basic command tests in CI

        I am thinking if we could add some basic command tests in CI. In case of upgrading like this.
    

    Originally posted by @KernelErr in https://github.com/zineland/zine/pull/112#pullrequestreview-1135182051

    opened by Folyd 0
  • Unexpected behaviour when running build command in build directory

    Unexpected behaviour when running build command in build directory

    When running build command in the existed build directory, a new build directory is created rather than reuse the current working directory. Maybe it's related to #25, we should change the current working directory to where the config file is rather than try to get it and parse it.

    opened by KernelErr 0
Releases(v0.9.0)
Owner
null
An ultra simple static site generator designed to appeal to technical as well as non technical users.

Hulk is an ultra simple static site generator designed to appeal to both technical and non technical users.

Bilal Tariq 1 Dec 27, 2021
Sūshì is a simple but customizable static site generator / blog generator written in Rust

sūshì Sūshì is a simple but customizable static site generator / blog generator written in Rust. Installation Install with Cargo (Recommended) cargo i

MrNothing233 2 Mar 20, 2022
My own image file format created for fun! Install the "hif_opener.exe" to open hif files. clone the repo and compile to make your own hif file

Why am i creating this? I wanted to create my own image format since I was 12 years old using Windows 7, tryna modify GTA San Andreas. That day, when

hiftie 3 Dec 17, 2023
zine/book about bitmap drawing algorithms and math with code examples in Rust

A Bitmapper's Companion - zine/book about bitmap drawing algorithms and math with code examples in Rust A small zine/book written in LaTeX. In progres

Manos Pitsidianakis 42 Nov 8, 2022
State of the art "build your own engine" kit powered by gfx-hal

A rendering engine based on gfx-hal, which mimics the Vulkan API. Building This library requires standard build tools for the target platforms, except

Amethyst Foundation 801 Dec 28, 2022
Build your own Riscv Emulator in Rust.

Rare: Rust A Riscv Emulator RISC-V 模拟器教程 This tutorial is based on Asami's excellent tutorial. Although the author haven't finished it, she have alrea

Sakya Demon 74 Jul 9, 2023
Custom implementation of Curl - Build Your Own curl

Build Your Own curl We are going to build curl from scratch by accepting the coding challenge posted on Coding Challenges FYI. Before moving ahead, yo

Praveen Chaudhary 15 Jun 7, 2024
🗂️ A simple, opinionated, tool, written in Rust, for declaratively managing Git repos on your machine.

gitrs ??️ A simple, opinionated, tool, written in Rust, for declaretively managing Git repos on your machine. "simple" - limited in what it supports.

Colton J. McCurdy 14 May 30, 2023
Build Java applications without fighting your build tool. Drink some espresso.

Espresso Build Java applications without fighting your build tool. Drink some espresso. Features Modern Look & Feel Command line interface inspired by

Hunter LaFaille 5 Apr 2, 2024
A simple, opinionated way to run containers for tests in your Rust project.

rustainers rustainers is a simple, opinionated way to run containers for tests. TLDR More information about this crate can be found in the crate docum

wefox 4 Nov 23, 2023
miette is a diagnostic library for Rust. It includes a series of traits/protocols that allow you to hook into its error reporting facilities, and even write your own error reports!

miette is a diagnostic library for Rust. It includes a series of traits/protocols that allow you to hook into its error reporting facilities, and even write your own error reports!

Kat Marchán 1.2k Jan 1, 2023
A mansplainer for man commands, cheeky and rude, use at your own risk

mansplain mansplain is a Command-Line Interface (CLI) tool built in Rust that mansplains a command to you Prerequisites Rust and Cargo installed An Op

Pratik Kanthi 3 Oct 24, 2023
MinMon - an opinionated minimal monitoring and alarming tool

MinMon - an opinionated minimal monitoring and alarming tool (for Linux) This tool is just a single binary and a config file. No database, no GUI, no

Florian Wickert 177 Jan 5, 2023
😋 Make your own blog!

Leven Leven is a lightweight Markdown-based static site generator for blogs. It's a lot like Jekyll or Hugo, but it's much simpler, much faster, and m

null 55 Oct 6, 2022
A library that makes it VERY easy to run Holochain as a library, from your own binary, with great defaults

embedded-holochain-runner A library that makes it VERY easy to run Holochain as a library, from your own binary, with great defaults How it will work

Sprillow 14 Jul 23, 2022
A puzzle game where you eat your own tail to win!

taileater taileater is a puzzle game available for free here: https://szunami.itch.io/taileater This project is built using Rust and Bevy. Assets were

null 25 Dec 20, 2022
The lightest distributed consensus library. Run your own replicated state machine! ❤️

Little Raft The lightest distributed consensus library. Run your own replicated state machine! ❤️ Installing Simply import the crate. In your Cargo.to

Ilya Andreev 359 Dec 26, 2022
A LED Christmas Tree controlled by Rust. Contribute your own renderers!

Rusty Christmas Tree This is code that draws on the LED Christmas Tree made by @aidancrowther. You can see his 3D design files and Pi Pico setup code

Forest Anderson 43 May 15, 2022
Server with Rust, Rocket, Diesel, Docker to create your own to-do-list

Installation Install Docker & Docker-Compose Then download the repository go to the root where the Dockerfile is and do: sudo docker-compose up sudo i

Lucas Aries 3 Aug 19, 2022
This is starter for your own game-specific tools

Bevy Toolbar Usage: This is starter for your own game-specific tools, clone source and manually add it to [workspace] section in Cargo.toml. Now add i

null 15 Sep 11, 2022