# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80.1" name = "tpnote" version = "1.24.11" authors = ["Jens Getreu "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Minimalistic note-taking: save and edit your clipboard content as a note file" homepage = "https://blog.getreu.net/projects/tp-note/" documentation = "https://blog.getreu.net/projects/tp-note/tpnote--manual.html" readme = "README.md" categories = [ "command-line-utilities", "template-engine", "text-processing", ] license = "MIT/Apache-2.0" repository = "https://gitlab.com/getreu/tp-note" [package.metadata.deb] assets = [ [ "../docs/build/html/index.html", "usr/share/doc/tpnote/", "644", ], [ "../docs/build/pdf/tpnote--manpage.pdf", "usr/share/doc/tpnote/", "644", ], [ "../docs/build/pdf/tpnote--manual.pdf", "usr/share/doc/tpnote/", "644", ], [ "../docs/build/man/man1/tpnote.1.gz", "usr/share/man/man1/", "644", ], [ "../target/x86_64-unknown-linux-gnu/release/tpnote", "usr/bin/tpnote", "755", ], [ "../assets/tpnote.svg", "usr/share/icons/", "644", ], ] copyright = "2020-2024, Jens Getreu " depends = "$auto" extended-description = """ Tp-Note is a note taking tool and a template system, that synchronizes the note's metadata with its filename. Tp-Note collects various information about its environment and the clipboard and stores it in variables. New notes are created by filling these variables in predefined and customizable `Tera`-templates. In case `` points to an existing Tp-Note-file, the note's metadata is analysed and, if necessary, its filename is adjusted. For all other file types, Tp-Note creates a new note annotating the file `` points to. If `` is a directory (or, when omitted the current working directory), a new note is created in that directory. After creation, Tp-Note launches an external editor of your choice. Although the templates are written for Markdown, Tp-Note is not tied to any specific markup language. However, Tp-Note comes with an optional viewer feature, that currently renders only Markdown, ReStructuredText and HTML. Note, that there is also some limited support for Asciidoc and WikiText. The note's rendition with its hyperlinks is live updated and displayed in the user's webbrowser. """ maintainer = "Jens Getreu, " name = "tpnote" revision = "" [[bin]] name = "tpnote" path = "src/main.rs" [dependencies.clipboard-rs] version = "0.2.2" optional = true [dependencies.directories] version = "5.0.1" [dependencies.httparse] version = "1.9.5" optional = true [dependencies.httpdate] version = "1.0.3" optional = true [dependencies.log] version = "0.4.22" features = ["serde"] [dependencies.notify] version = "7.0.0" optional = true [dependencies.notify-debouncer-mini] version = "0.5.0" optional = true [dependencies.parking_lot] version = "0.12.3" [dependencies.percent-encoding] version = "2.3.1" [dependencies.sanitize-filename-reader-friendly] version = "2.2.1" [dependencies.semver] version = "1.0.23" [dependencies.serde] version = "1.0.215" features = ["derive"] [dependencies.serde_yaml] version = "0.9.34" [dependencies.structopt] version = "0.3.26" [dependencies.tera] version = "1.20.0" default-features = true [dependencies.thiserror] version = "2.0.5" [dependencies.time] version = "0.3.37" [dependencies.toml] version = "0.8.19" [dependencies.tpnote-lib] version = "0.37.0" default-features = false [dependencies.webbrowser] version = "1.0.3" optional = true [build-dependencies.winresource] version = "0.1.19" [features] default = [ "read-clipboard", "message-box", "viewer", "renderer", "lang-detection", ] lang-detection = ["tpnote-lib/lang-detection"] message-box = [ "dep:msgbox", "dep:notify-rust", ] read-clipboard = [ "dep:clipboard-rs", "wl-clipboard-rs", ] renderer = ["tpnote-lib/renderer"] viewer = [ "dep:notify", "dep:notify-debouncer-mini", "dep:httparse", "dep:webbrowser", "dep:httpdate", "tpnote-lib/viewer", ] [target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.notify-rust] version = "4.11.3" optional = true [target.'cfg(not(all(unix, not(target_os = "macos"))))'.dependencies.msgbox] version = "0.7.0" optional = true [target."cfg(unix)".dependencies.wl-clipboard-rs] version = "0.9.1" optional = true [target."cfg(windows)".dependencies.win32job] version = "2.0.0" [target."cfg(windows)".dependencies.windows-sys] version = "0.59.0" features = [ "Win32_Globalization", "Win32_System_SystemServices", ]