Mercurial > core / lisp/lib/skel/comp/cargo.lisp
changeset 698: |
96958d3eb5b0 |
parent: |
cc89b337384b
|
author: |
Richard Westhaver <ellis@rwest.io> |
date: |
Fri, 04 Oct 2024 22:04:59 -0400 |
permissions: |
-rw-r--r-- |
description: |
fixes |
1 ;;; lib/skel/comp/cargo.lisp --- Cargo.toml Components 3 ;; Cargo.toml skel components. 7 ;; (:sk-rust-system "Cargo.toml") 10 (in-package :skel/comp/cargo) 12 (defparameter *default-cargo-manifest* "Cargo.toml") 13 (defparameter *cargo-manifest-extension* "toml") 15 (defclass sk-rust-system (sk-mod) 18 (defclass sk-rust-component (sk-component) 21 (defmethod print-object ((object sk-rust-system) stream) 22 (print-unreadable-object (object stream :type t) 23 (format stream ":ID ~A" (format-sxhash (obj/id:id object))))) 25 (defun parse-sk-rust-system (path) 28 (defmethod sk-load-component ((kind (eql :rust-system)) (form pathname) &optional (path *default-pathname-defaults*)) 29 (declare (ignore kind)) 30 (parse-sk-rust-system (merge-pathnames form path))) 32 (defmethod sk-compile ((self sk-rust-system) &key &allow-other-keys)) 34 (defmethod sk-write-file ((self sk-rust-system) &key path)) 36 (defmethod sk-read-file ((self sk-rust-system) path))